Pagini recente » Borderou de evaluare (job #2472712) | Borderou de evaluare (job #2809603) | Borderou de evaluare (job #2936920) | Borderou de evaluare (job #2561911) | Borderou de evaluare (job #1273682)
Borderou de evaluare (job #1273682)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d", &n);
^
user.cpp:11:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
for(int i =0; i< n; i++) fscanf(fin, "%d", &p[i]);
^
user.cpp:9:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:11:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i =0; i< n; i++) fscanf(fin, "%d", &p[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | Incorect | 0 |
| 2 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 252kb | Incorect | 0 |
| 4 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 248kb | Incorect | 0 |
| 6 | 0ms | 248kb | Incorect | 0 |
| 7 | 0ms | 252kb | Incorect | 0 |
| 8 | 0ms | 252kb | Incorect | 0 |
| 9 | 0ms | 252kb | Incorect | 0 |
| 10 | 0ms | 252kb | OK | 10 |
| Punctaj total | 10 |