Pagini recente » Borderou de evaluare (job #2775430) | Borderou de evaluare (job #2465666) | Borderou de evaluare (job #1761496) | Borderou de evaluare (job #2970511) | Borderou de evaluare (job #2506437)
Borderou de evaluare (job #2506437)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:30: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
s[i][strlen(s[i]) - 1] = NULL;
^~~~
main.cpp:13:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("binar.in", "r", stdin);
^
main.cpp:14:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("binar.out", "w", stdout);
^
main.cpp:17:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &n, &m);
^
main.cpp:19:34: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s[i] + 1, m + 2, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 393kb | OK | 10 |
2 | 6ms | 524kb | OK | 10 |
3 | 9ms | 1179kb | OK | 10 |
4 | 20ms | 2097kb | OK | 10 |
5 | 34ms | 3145kb | OK | 10 |
6 | 43ms | 3538kb | OK | 10 |
7 | 46ms | 3801kb | OK | 10 |
8 | 75ms | 4026kb | OK | 10 |
9 | 53ms | 4194kb | OK | 10 |
10 | 54ms | 4194kb | OK | 10 |
Punctaj total | 100 |