Pagini recente » Borderou de evaluare (job #277734) | Borderou de evaluare (job #2873968) | Borderou de evaluare (job #2953294) | Borderou de evaluare (job #2782179) | Borderou de evaluare (job #1849776)
Borderou de evaluare (job #1849776)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fpwl.in", "r", stdin);
^
user.cpp:48:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fpwl.out", "w", stdout);
^
user.cpp:51:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:53:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", val + i);
^
user.cpp:55:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sign); gets(sign);
^
user.cpp:55:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sign); gets(sign);
^
/tmp/ccRNjjnj.o: In function `main':
user.cpp:(.text.startup+0xa3): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 56ms | 35608kb | Corect | 10 |
2 | 56ms | 35604kb | Subsir incorect | 0 |
3 | 328ms | 39328kb | Corect | 10 |
4 | 328ms | 37216kb | Corect | 10 |
5 | 1240ms | 40384kb | Corect | 10 |
6 | 484ms | 38536kb | Corect | 10 |
7 | 512ms | 38536kb | Corect | 10 |
8 | 1216ms | 38536kb | Corect | 10 |
9 | 1228ms | 38536kb | Corect | 10 |
10 | 292ms | 37744kb | Corect | 10 |
Punctaj total | 90 |