Pagini recente » Borderou de evaluare (job #2602030) | Borderou de evaluare (job #2033205) | Borderou de evaluare (job #2160245) | Borderou de evaluare (job #2529766) | Borderou de evaluare (job #1258919)
Borderou de evaluare (job #1258919)
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 | 244kb | Incorect | 0 |
2 | 0ms | 244kb | Incorect | 0 |
3 | 0ms | 244kb | Incorect | 0 |
4 | 4ms | 248kb | Incorect | 0 |
5 | 12ms | 248kb | Incorect | 0 |
6 | 12ms | 256kb | Incorect | 0 |
7 | 12ms | 256kb | Incorect | 0 |
8 | 52ms | 252kb | Incorect | 0 |
9 | 52ms | 252kb | Incorect | 0 |
10 | 52ms | 256kb | Incorect | 0 |
Punctaj total | 0 |