Borderou de evaluare (job #2626886)

Utilizator Senth30Denis-Florin Cringanu Senth30 Data 8 iunie 2020 21:01:12
Problema ShiftRight Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 94

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:56:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 1; j < aux.size(); j++){ ~~^~~~~~~~~~~~ main.cpp:62:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::vector<int> >::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", ans.size()); ^ main.cpp:63:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < ans.size(); i++){ ~~^~~~~~~~~~~~ main.cpp:64:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d", ans[i].size()); ^ main.cpp:65:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < ans[i].size(); j++) ~~^~~~~~~~~~~~~~~ main.cpp: In function 'bool intro()': main.cpp:18:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s %s", s1, s2); ^ main.cpp: In function 'int main()': main.cpp:35:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("shiftright.in", "r", stdin); ^ main.cpp:36:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("shiftright.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
23ms131kbOK5
39ms393kbOK5
414ms524kbOK5
5248ms7733kbOK5
6448ms13631kbOutput prea mare!2
72ms131kbOK5
84ms262kbOK5
98ms393kbOK5
1028ms1048kbOK5
1193ms3014kbOK5
12207ms6553kbOK5
13345ms10354kbOK5
14402ms11534kbOK5
15439ms12320kbOK5
16490ms13631kbOK5
17227ms7733kbOK5
18334ms10092kbOK5
19506ms14417kbOK5
20624ms16908kbOutput prea mare!2
Punctaj total94

Ceva nu functioneaza?