Borderou de evaluare (job #1239162)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(file,"%d%d",&n,&p);
^
user.cpp:10:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:21:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(file,"%d",nr);
^
user.cpp:10:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file,"%d%d",&n,&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 376kb | Time limit exceeded. | 0 |
2 | Depăşit | 384kb | Time limit exceeded. | 0 |
3 | 28ms | 412kb | Incorect | 0 |
4 | 36ms | 412kb | Incorect | 0 |
5 | 0ms | 412kb | Incorect | 0 |
6 | Depăşit | 380kb | Time limit exceeded. | 0 |
7 | 0ms | 416kb | Incorect | 0 |
8 | 0ms | 420kb | OK | 10 |
9 | Depăşit | 416kb | Time limit exceeded. | 0 |
10 | Depăşit | 376kb | Time limit exceeded. | 0 |
Punctaj total | 10 |