Pagini recente » Borderou de evaluare (job #2492120) | Borderou de evaluare (job #2611726) | Borderou de evaluare (job #1241922) | Borderou de evaluare (job #1235189) | Borderou de evaluare (job #1871382)
Borderou de evaluare (job #1871382)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.in", "r", stdin);
^
user.cpp:52:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.out", "w", stdout);
^
user.cpp:54: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:56:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &x);
^
user.cpp:60:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cc0Q8CDw.o: In function `main':
user.cpp:(.text.startup+0xed): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 308kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 8ms | 316kb | OK | 10 |
6 | 0ms | 304kb | OK | 10 |
7 | 40ms | 316kb | OK | 10 |
8 | 60ms | 320kb | OK | 10 |
9 | 0ms | 316kb | OK | 10 |
10 | 0ms | 312kb | OK | 10 |
Punctaj total | 100 |