Pagini recente » Monitorul de evaluare | Cod sursa (job #1669950) | Cod sursa (job #1459635) | Cod sursa (job #320359) | Borderou de evaluare (job #1791347)
Borderou de evaluare (job #1791347)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:28: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%c",&v[2]);v[1]=a;
^
user.cpp:14:16: warning: unused variable ‘n’ [-Wunused-variable]
int p,ok=1,n,i;
^
user.cpp:16:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n%c",&p,&a);
^
user.cpp:22:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&c);
^
user.cpp:35:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&v[2]);v[1]=a;
^
user.cpp:36:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&c);
^
user.cpp:42:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 5 |
| 2 | 0ms | 268kb | OK | 5 |
| 3 | 0ms | 268kb | OK | 5 |
| 4 | 4ms | 268kb | OK | 5 |
| 5 | 8ms | 260kb | OK | 5 |
| 6 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
| 11 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 12 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 13 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 15 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 0ms | 264kb | OK | 5 |
| Punctaj total | 30 |