Pagini recente » Borderou de evaluare (job #1248570) | Borderou de evaluare (job #2514706) | Borderou de evaluare (job #491221) | Borderou de evaluare (job #2524351) | Borderou de evaluare (job #1231380)
Borderou de evaluare (job #1231380)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f1,"%d %d",&temp.x,&temp.y);
^
user.cpp:24:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:28:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f1,"%d %d %d %d",&st.x,&st.y,&fin.x,&fin.y);
^
user.cpp:28:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:28:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:28:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:13:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d %d",&n,&m);
^
user.cpp:24:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d %d",&temp.x,&temp.y);
^
user.cpp:28:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d %d %d %d",&st.x,&st.y,&fin.x,&fin.y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 336kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 344kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |