Pagini recente » Borderou de evaluare (job #1273104) | Borderou de evaluare (job #2120103) | Borderou de evaluare (job #1434495) | Borderou de evaluare (job #1883438) | Borderou de evaluare (job #1489273)
Borderou de evaluare (job #1489273)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[4]’ [-Wformat=]
while(fscanf(f, "%s", &s) != EOF) {
^
user.cpp:17:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &x);
^
user.cpp:37:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &x);
^
user.cpp:67:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 8ms | 392kb | OK | 10 |
| 3 | 68ms | 1296kb | OK | 10 |
| 4 | 120ms | 2340kb | OK | 10 |
| 5 | 248ms | 4028kb | OK | 10 |
| 6 | 408ms | 6152kb | OK | 10 |
| 7 | 904ms | 12292kb | OK | 10 |
| 8 | 600ms | 7300kb | OK | 10 |
| 9 | 212ms | 1684kb | OK | 10 |
| 10 | 932ms | 12332kb | OK | 10 |
| Punctaj total | 100 |