Pagini recente » Borderou de evaluare (job #2358764) | Borderou de evaluare (job #772655) | Borderou de evaluare (job #1631260) | Borderou de evaluare (job #1617336) | Borderou de evaluare (job #1371095)
Borderou de evaluare (job #1371095)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d",&a[i]);
^
user.cpp:18:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d",&m);
^
user.cpp:20:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d",&b[i]);
^
user.cpp:47:9: warning: variable ‘poza’ set but not used [-Wunused-but-set-variable]
int poza,mxa=0;
^
user.cpp:54:9: warning: variable ‘pozb’ set but not used [-Wunused-but-set-variable]
int pozb,mxb=0;
^
user.cpp:15:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:17:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a[i]);
^
user.cpp:18:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&m);
^
user.cpp:20:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 456kb | Lungime incorecta! | 0 |
2 | 12ms | 464kb | Lungime incorecta! | 0 |
3 | 24ms | 468kb | Lungime incorecta! | 0 |
4 | 40ms | 480kb | Lungime incorecta! | 0 |
5 | 64ms | 484kb | Lungime incorecta! | 0 |
6 | 92ms | 496kb | Lungime incorecta! | 0 |
7 | 128ms | 500kb | Lungime incorecta! | 0 |
8 | Depăşit | 480kb | Time limit exceeded. | 0 |
9 | Depăşit | 472kb | Time limit exceeded. | 0 |
10 | Depăşit | 476kb | Time limit exceeded. | 0 |
Punctaj total | 0 |