Pagini recente » Borderou de evaluare (job #53370) | Borderou de evaluare (job #1817525) | Borderou de evaluare (job #2646253) | Borderou de evaluare (job #3289468) | Borderou de evaluare (job #1380302)
Borderou de evaluare (job #1380302)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&a,&b);
^
user.cpp:28:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:27:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(fscanf(f,"%d",&T);T>=1;T--){
^
user.cpp:28:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 412kb | OK | 10 | 10 |
2 | 0ms | 408kb | OK | 10 | 20 |
3 | 0ms | 412kb | OK | 10 |
4 | 20ms | 412kb | OK | 10 | 10 |
5 | 32ms | 408kb | OK | 10 | 10 |
6 | 44ms | 408kb | OK | 10 | 10 |
7 | 60ms | 404kb | OK | 10 | 40 |
8 | 64ms | 412kb | OK | 10 |
9 | 68ms | 412kb | OK | 10 |
10 | 108ms | 412kb | OK | 10 |
Punctaj total | 100 |