Pagini recente » Cod sursa (job #888331) | ChatNoir | Borderou de evaluare (job #2366171) | Cod sursa (job #3272575) | Borderou de evaluare (job #1572421)
Borderou de evaluare (job #1572421)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
str[i] = C[str[i]];
^
user.cpp:45:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++cnt[index][str[j]];
^
user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &M);
^
user.cpp:27:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", str + 1);
^
user.cpp:69:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(line);
^
/tmp/ccbiF7vN.o: In function `main':
user.cpp:(.text.startup+0x345): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1964kb | OK | 10 |
| 2 | 0ms | 2008kb | OK | 10 |
| 3 | 20ms | 2184kb | OK | 10 |
| 4 | 28ms | 2060kb | OK | 10 |
| 5 | 80ms | 2016kb | OK | 10 |
| 6 | 192ms | 2428kb | OK | 10 |
| 7 | 524ms | 2660kb | OK | 10 |
| 8 | 988ms | 2904kb | OK | 10 |
| 9 | Depăşit | 3096kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 3336kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |