Pagini recente » Borderou de evaluare (job #595398) | Borderou de evaluare (job #2914471) | Borderou de evaluare (job #8671) | Borderou de evaluare (job #1474182) | Borderou de evaluare (job #1231379)
Borderou de evaluare (job #1231379)
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 | 228kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 340kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 344kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |