Pagini recente » Borderou de evaluare (job #3190479) | Borderou de evaluare (job #2044108) | Borderou de evaluare (job #2359815) | Borderou de evaluare (job #1691625) | Borderou de evaluare (job #1258920)
Borderou de evaluare (job #1258920)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&n,&p);
^
user.cpp:40:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&t[i],&c[i]);
^
user.cpp:60:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d",maxs-p);
^
user.cpp:38: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:40: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 | 248kb | OK | 10 |
| 2 | 0ms | 248kb | OK | 10 |
| 3 | 0ms | 248kb | Incorect | 0 |
| 4 | 0ms | 256kb | Incorect | 0 |
| 5 | 12ms | 260kb | Incorect | 0 |
| 6 | 12ms | 256kb | Incorect | 0 |
| 7 | 12ms | 260kb | Incorect | 0 |
| 8 | 44ms | 256kb | Incorect | 0 |
| 9 | 44ms | 260kb | Incorect | 0 |
| 10 | 44ms | 252kb | Incorect | 0 |
| Punctaj total | 20 |