Borderou de evaluare (job #1237368)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7: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:7:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:14:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d\n",a);
^
user.cpp:6:10: warning: unused variable ‘n’ [-Wunused-variable]
long n,a,b,aux;
^
user.cpp:7: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 |
| 1 | 0ms | 252kb | Wrong Answer. | 0 |
| 2 | 0ms | 252kb | OKAY! | 10 |
| 3 | 0ms | 256kb | OKAY! | 10 |
| 4 | 0ms | 252kb | Wrong Answer. | 0 |
| 5 | 0ms | 248kb | OKAY! | 10 |
| 6 | 0ms | 252kb | Wrong Answer. | 0 |
| 7 | 0ms | 256kb | OKAY! | 10 |
| 8 | 0ms | 256kb | Wrong Answer. | 0 |
| 9 | 0ms | 252kb | Wrong Answer. | 0 |
| 10 | 0ms | 252kb | OKAY! | 10 |
| Punctaj total | 50 |