Borderou de evaluare (job #2567418)

Utilizator Mc_TaviMacovei Octavian-Cosmin Mc_Tavi Data 3 martie 2020 17:05:55
Problema Pesti Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:88:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=] fprintf(outFile, "%d\n%d ", K-gresit.size(), gresit.size()); ^ main.cpp:88:63: warning: format '%d' expects argument of type 'int', but argument 4 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=] main.cpp:89:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < gresit.size(); ++i) ~~^~~~~~~~~~~~~~~ main.cpp:51:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFile, "%d%d", &N, &M); ^ main.cpp:55:40: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFile, "%d", &cell); ^ main.cpp:68:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFile, "%d", &K); ^ main.cpp:72:101: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(inFile, "%d%d%d%d%d", &poz1.line, &poz1.column, &poz2.line, &poz2.column, &orientare); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
42ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?