Pagini recente » Borderou de evaluare (job #3266846) | Borderou de evaluare (job #2078463) | Borderou de evaluare (job #591404) | Borderou de evaluare (job #1848567) | Borderou de evaluare (job #1259074)
Borderou de evaluare (job #1259074)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&n,&p);
^
user.cpp:44:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:46:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&t[i],&c[i]);
^
user.cpp:46:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:65:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",maxs-p);
^
user.cpp:44:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&p);
^
user.cpp:46:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&t[i],&c[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 276kb | Incorect | 0 |
| 4 | 4ms | 272kb | Incorect | 0 |
| 5 | 20ms | 280kb | Incorect | 0 |
| 6 | 20ms | 288kb | Incorect | 0 |
| 7 | 20ms | 288kb | Incorect | 0 |
| 8 | 88ms | 296kb | Incorect | 0 |
| 9 | 88ms | 296kb | Incorect | 0 |
| 10 | 88ms | 292kb | Incorect | 0 |
| Punctaj total | 20 |