Pagini recente » Cod sursa (job #45643) | Borderou de evaluare (job #2626890)
Borderou de evaluare (job #2626890)
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 |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 3ms | 131kb | OK | 5 |
| 3 | 4ms | 262kb | OK | 5 |
| 4 | 5ms | 262kb | OK | 5 |
| 5 | 53ms | 2633kb | OK | 5 |
| 6 | 78ms | 3276kb | OK | 5 |
| 7 | 2ms | 131kb | OK | 5 |
| 8 | 3ms | 131kb | OK | 5 |
| 9 | 5ms | 262kb | OK | 5 |
| 10 | 14ms | 655kb | OK | 5 |
| 11 | 38ms | 1441kb | OK | 5 |
| 12 | 90ms | 2883kb | OK | 5 |
| 13 | 156ms | 4194kb | OK | 5 |
| 14 | 175ms | 4534kb | OK | 5 |
| 15 | 175ms | 4849kb | OK | 5 |
| 16 | 195ms | 5111kb | OK | 5 |
| 17 | 200ms | 5636kb | OK | 5 |
| 18 | 211ms | 5636kb | OK | 5 |
| 19 | 217ms | 5636kb | OK | 5 |
| 20 | 220ms | 5636kb | OK | 5 |
| Punctaj total | 100 |