Pagini recente » Borderou de evaluare (job #1436880) | Borderou de evaluare (job #1402679) | Borderou de evaluare (job #2120190) | Borderou de evaluare (job #2249218) | Borderou de evaluare (job #1259095)
Borderou de evaluare (job #1259095)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21: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:21:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:23:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&v[i].t,&v[i].c);
^
user.cpp:23:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:47:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",maxs);
^
user.cpp:21: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:23:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&v[i].t,&v[i].c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK | 10 |
| 2 | 0ms | 248kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 8ms | 260kb | OK | 10 |
| 5 | 28ms | 260kb | OK | 10 |
| 6 | 28ms | 268kb | OK | 10 |
| 7 | 24ms | 260kb | OK | 10 |
| 8 | 100ms | 272kb | OK | 10 |
| 9 | 88ms | 268kb | OK | 10 |
| 10 | 88ms | 264kb | OK | 10 |
| Punctaj total | 100 |