Pagini recente » Borderou de evaluare (job #2709174) | Borderou de evaluare (job #1920765) | Borderou de evaluare (job #2979638) | Borderou de evaluare (job #1446495) | Borderou de evaluare (job #1389425)
Borderou de evaluare (job #1389425)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:49:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=]
fscanf(f,"%d%d%d",&val.x,&val.y,&val.c);
^
user.cpp:49:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘unsigned char*’ [-Wformat=]
user.cpp: In function ‘void solve()’:
user.cpp:59:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,f1,f2;
^
user.cpp: In function ‘void afisare()’:
user.cpp:89:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘void citire()’:
user.cpp:46:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:49:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d",&val.x,&val.y,&val.c);
^
user.cpp:54:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&k);
^
user.cpp: In function ‘int main()’:
user.cpp:100:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d",&a1,&a2,&a3);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 440kb | OK! | 5 |
| 2 | Depăşit | 692kb | Time limit exceeded. | 0 |
| 3 | 0ms | 456kb | OK! | 5 |
| 4 | 0ms | 512kb | OK! | 5 |
| 5 | 0ms | 468kb | OK! | 5 |
| 6 | 0ms | 488kb | OK! | 5 |
| 7 | 0ms | 512kb | OK! | 5 |
| 8 | 4ms | 536kb | OK! | 5 |
| 9 | 4ms | 556kb | OK! | 5 |
| 10 | 8ms | 580kb | OK! | 5 |
| 11 | 40ms | 612kb | OK! | 10 |
| 12 | 24ms | 552kb | OK! | 5 |
| 13 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 14 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 15 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 60 |