Pagini recente » Borderou de evaluare (job #1621624) | Borderou de evaluare (job #2661226) | Borderou de evaluare (job #945366) | Borderou de evaluare (job #1124152) | Borderou de evaluare (job #1258912)
Borderou de evaluare (job #1258912)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14: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:16: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:34:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d",maxs-p);
^
user.cpp:14: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:16: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 | Incorect | 0 |
2 | 0ms | 244kb | Incorect | 0 |
3 | 0ms | 244kb | Incorect | 0 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 8ms | 260kb | Incorect | 0 |
6 | 8ms | 256kb | Incorect | 0 |
7 | 8ms | 260kb | Incorect | 0 |
8 | 36ms | 260kb | Incorect | 0 |
9 | 36ms | 260kb | Incorect | 0 |
10 | 36ms | 260kb | Incorect | 0 |
Punctaj total | 0 |