Pagini recente » Borderou de evaluare (job #1159148) | Borderou de evaluare (job #129228) | Borderou de evaluare (job #304821) | Borderou de evaluare (job #846777) | Borderou de evaluare (job #1346249)
Borderou de evaluare (job #1346249)
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:37: 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:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:47:23: 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:38: 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 | 264kb | OK | 10 |
4 | 4ms | 264kb | OK | 10 |
5 | 24ms | 264kb | OK | 10 |
6 | 28ms | 268kb | OK | 10 |
7 | 24ms | 264kb | OK | 10 |
8 | 96ms | 268kb | OK | 10 |
9 | 88ms | 272kb | OK | 10 |
10 | 84ms | 264kb | OK | 10 |
Punctaj total | 100 |