Pagini recente » Borderou de evaluare (job #1439457) | Borderou de evaluare (job #1472605) | Borderou de evaluare (job #3241139) | Borderou de evaluare (job #1311837) | Borderou de evaluare (job #1311846)
Borderou de evaluare (job #1311846)
Raport evaluator
Compilare:
user.cpp: In function ‘int main(int, char**)’:
user.cpp:13:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f, "%d", &a);
^
user.cpp:14:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f, "%d", &b);
^
user.cpp:15:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g, "%d\n", a + b);
^
user.cpp:13:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &a);
^
user.cpp:14:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 7 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 8 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 192kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 |
| 1 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 2 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 5 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |