Borderou de evaluare (job #2774511)

Utilizator racsosabeVictor Racso Galvan Oyola racsosabe Data 11 septembrie 2021 19:24:44
Problema Zone Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'std::tuple<int, int, int, int> get_answer(int, int)': main.cpp:39:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < values.size(); i++){ ~~^~~~~~~~~~~~~~~ main.cpp:49:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < values.size(); j++){ ~~^~~~~~~~~~~~~~~ main.cpp: In function 'void setIO(std::__cxx11::string, bool, bool)': main.cpp:7:51: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] if(input) freopen(inputname.c_str(), "r", stdin); ^ main.cpp:8:54: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] if(output) freopen(outputname.c_str(), "w", stdout); ^ main.cpp: In function 'int main()': main.cpp:80:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:83:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &x); ^ main.cpp:89:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms262kbOK10
22ms131kbOK10
34ms393kbOK10
47ms524kbOK10
57ms524kbOK10
623ms917kbOK10
720ms917kbOK10
8142ms2359kbOK10
990ms2228kbOK10
102ms131kbOK10
Punctaj total100

Ceva nu functioneaza?