Pagini recente » Borderou de evaluare (job #1938424) | Borderou de evaluare (job #1658181) | Borderou de evaluare (job #181258) | Borderou de evaluare (job #1144666) | Borderou de evaluare (job #1498115)
Borderou de evaluare (job #1498115)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.in", "r", stdin);
^
user.cpp:24:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &k);
^
user.cpp:25:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:70:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.out", "w", stdout);
^
/tmp/ccsfn1XZ.o: In function `read()':
user.cpp:(.text+0x110): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | 0ms | 280kb | OK | 10 |
| 4 | 0ms | 280kb | OK | 10 |
| 5 | 0ms | 376kb | OK | 10 |
| 6 | 12ms | 1264kb | OK | 10 |
| 7 | 4ms | 768kb | OK | 10 |
| 8 | 104ms | 7292kb | OK | 10 |
| 9 | 212ms | 14320kb | OK | 10 |
| 10 | 208ms | 14360kb | OK | 10 |
| Punctaj total | 100 |