Pagini recente » Borderou de evaluare (job #2631102) | Borderou de evaluare (job #1138717) | Borderou de evaluare (job #1640058) | Borderou de evaluare (job #1854266) | Borderou de evaluare (job #1390827)
Borderou de evaluare (job #1390827)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:22:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:24:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&a[i]);
^
user.cpp: In function ‘void write()’:
user.cpp:45:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",v[1][n]);
^
user.cpp: In function ‘void read()’:
user.cpp:22:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:24:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK | 10 |
| 2 | 0ms | 292kb | OK | 10 |
| 3 | 0ms | 344kb | OK | 10 |
| 4 | 0ms | 420kb | OK | 10 |
| 5 | 0ms | 460kb | OK | 10 |
| 6 | 0ms | 656kb | OK | 10 |
| 7 | 24ms | 1044kb | OK | 10 |
| 8 | 80ms | 1444kb | OK | 10 |
| 9 | 188ms | 1840kb | Incorect | 0 |
| 10 | 72ms | 2200kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 80 |