Pagini recente » Borderou de evaluare (job #358926) | Borderou de evaluare (job #513401) | Borderou de evaluare (job #2746203) | Borderou de evaluare (job #1883118) | Borderou de evaluare (job #1490564)
Borderou de evaluare (job #1490564)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for (i = 1; i < v; i++) printf("%d\n", i);
^
user.cpp:35:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for (i = v; i <= n; i++) printf("%d\n", i + 1);
^
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxunice.in","r",stdin);
^
user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxunice.out","w",stdout);
^
user.cpp:20:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 436kb | ok | 5 | 100 |
2 | 0ms | 440kb | ok | 5 |
3 | 0ms | 436kb | ok | 5 |
4 | 0ms | 436kb | ok | 5 |
5 | 0ms | 436kb | ok | 5 |
6 | 0ms | 440kb | ok | 5 |
7 | 0ms | 444kb | ok | 5 |
8 | 0ms | 440kb | ok | 5 |
9 | 0ms | 440kb | ok | 5 |
10 | 0ms | 440kb | ok | 5 |
11 | 0ms | 440kb | ok | 5 |
12 | 0ms | 440kb | ok | 5 |
13 | 0ms | 444kb | ok | 5 |
14 | 0ms | 436kb | ok | 5 |
15 | 0ms | 444kb | ok | 5 |
16 | 0ms | 444kb | ok | 5 |
17 | 4ms | 440kb | ok | 5 |
18 | 8ms | 440kb | ok | 5 |
19 | 12ms | 436kb | ok | 5 |
20 | 12ms | 436kb | ok | 5 |
Punctaj total | 100 |