foo.cc: In function 'int main()':
foo.cc:7:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
system("echo 'a,b=input().split()' > a.py");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:8:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
system("echo 'c=(int(a)+int(b))' >> a.py");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:9:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
system("echo 'print(c)' >> a.py");
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:10:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
system("python a.py");
~~~~~~^~~~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-23T14:49:54.883Z","handle":"2020-07-23T14:49:54.883Z","cache_start":"2020-07-23T14:49:54.892Z","read_cases":"2020-07-23T14:49:54.999Z","judge":"2020-07-23T14:49:55.002Z","done":"2020-07-23T14:49:55.802Z"}