Pagini recente » Borderou de evaluare (job #932952) | Borderou de evaluare (job #184878) | Borderou de evaluare (job #2176686) | Borderou de evaluare (job #2784428) | Borderou de evaluare (job #2506438)
Borderou de evaluare (job #2506438)
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 | 4ms | 524kb | OK | 10 |
3 | 9ms | 1179kb | OK | 10 |
4 | 17ms | 2228kb | OK | 10 |
5 | 34ms | 3145kb | OK | 10 |
6 | 43ms | 3538kb | OK | 10 |
7 | 42ms | 3801kb | OK | 10 |
8 | 50ms | 3932kb | OK | 10 |
9 | 82ms | 4206kb | OK | 10 |
10 | 43ms | 4194kb | OK | 10 |
Punctaj total | 100 |