Pagini recente » Borderou de evaluare (job #1237481) | Borderou de evaluare (job #574543) | Borderou de evaluare (job #2593182) | Borderou de evaluare (job #1698713) | Borderou de evaluare (job #2506431)
Borderou de evaluare (job #2506431)
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:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s[i], m + 2, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 393kb | OK | 10 |
2 | 4ms | 524kb | OK | 10 |
3 | 16ms | 1179kb | OK | 10 |
4 | 21ms | 2097kb | OK | 10 |
5 | 35ms | 3145kb | OK | 10 |
6 | 44ms | 3538kb | OK | 10 |
7 | 48ms | 3801kb | OK | 10 |
8 | 51ms | 3932kb | OK | 10 |
9 | 56ms | 4194kb | OK | 10 |
10 | 68ms | 4116kb | OK | 10 |
Punctaj total | 100 |