Pagini recente » Borderou de evaluare (job #1119594) | Borderou de evaluare (job #1235046) | Borderou de evaluare (job #1741041) | Borderou de evaluare (job #1206032) | Borderou de evaluare (job #1259081)
Borderou de evaluare (job #1259081)
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:68:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",maxs);
^
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 | 264kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 8ms | 268kb | OK | 10 |
5 | 40ms | 280kb | OK | 10 |
6 | 40ms | 280kb | OK | 10 |
7 | 40ms | 276kb | OK | 10 |
8 | Depăşit | 268kb | Time limit exceeded. | 0 |
9 | Depăşit | 264kb | Time limit exceeded. | 0 |
10 | Depăşit | 260kb | Time limit exceeded. | 0 |
Punctaj total | 70 |