Borderou de evaluare (job #2626890)

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

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:61:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < aux.size(); j++) ~~^~~~~~~~~~~~ main.cpp:65: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:66:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < ans.size(); i++){ ~~^~~~~~~~~~~~ main.cpp:67: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:68: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
34ms262kbOK5
45ms262kbOK5
553ms2633kbOK5
678ms3276kbOK5
72ms131kbOK5
83ms131kbOK5
95ms262kbOK5
1014ms655kbOK5
1138ms1441kbOK5
1290ms2883kbOK5
13156ms4194kbOK5
14175ms4534kbOK5
15175ms4849kbOK5
16195ms5111kbOK5
17200ms5636kbOK5
18211ms5636kbOK5
19217ms5636kbOK5
20220ms5636kbOK5
Punctaj total100

Ceva nu functioneaza?