Pagini recente » Borderou de evaluare (job #460549) | Borderou de evaluare (job #1358817) | Borderou de evaluare (job #1936220) | Borderou de evaluare (job #1456954) | Borderou de evaluare (job #2280281)
Borderou de evaluare (job #2280281)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:70:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'char*' [-Wformat=]
fscanf(in,"%d",&c);
^
main.cpp:77:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'char*' [-Wformat=]
fscanf(in,"%d",&c);
^
main.cpp:97:27: warning: unused variable 'l' [-Wunused-variable]
int k,i_nou,j_nou,x,y,l,index1,index2;
^
main.cpp:69:41: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d %d %d",&cerinta,&n,&m);
^
main.cpp:70:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&c);
^
main.cpp:75:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%c",&a[i][j]);
^
main.cpp:77:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&c);
^
main.cpp:137:16: warning: 'cod' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(out,"%c",cod);
~~~~~~~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 393kb | Gresit! | 0 |
2 | 4ms | 393kb | Corect! Varianta 1 | 5 |
3 | 7ms | 655kb | Corect! Varianta 1 | 5 |
4 | 16ms | 786kb | Corect! Varianta 1 | 5 |
5 | 38ms | 2228kb | Corect! Varianta 1 | 5 |
6 | 2ms | 131kb | Linie in afara matricei | 0 |
7 | 3ms | 262kb | Corect! Varianta 2 | 5 |
8 | 3ms | 262kb | Gresit! | 0 |
9 | 4ms | 262kb | Gresit! | 0 |
10 | 4ms | 262kb | Gresit! | 0 |
11 | 7ms | 393kb | Gresit! | 0 |
12 | 11ms | 524kb | Gresit! | 0 |
13 | 20ms | 917kb | Gresit! | 0 |
14 | 14ms | 655kb | Gresit! | 0 |
15 | 22ms | 655kb | Gresit! | 0 |
16 | 22ms | 655kb | Gresit! | 0 |
17 | 26ms | 786kb | Gresit! | 0 |
18 | 23ms | 655kb | Gresit! | 0 |
19 | 36ms | 917kb | Gresit! | 0 |
20 | 2ms | 131kb | Corect! Varianta 1 | 5 |
Punctaj total | 30 |