Pagini recente » Borderou de evaluare (job #1637688) | Borderou de evaluare (job #1496247) | Borderou de evaluare (job #2879623) | Borderou de evaluare (job #534049) | Borderou de evaluare (job #1355303)
Borderou de evaluare (job #1355303)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:25:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:27:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&a[i].h);
^
user.cpp:29:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&a[i].c);
^
user.cpp: In function ‘int main()’:
user.cpp:41:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&t);
^
user.cpp:38:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zlego.in","r",stdin);
^
user.cpp:39:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zlego.out","w",stdout);
^
user.cpp:41:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp: In function ‘void solve()’:
user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:27:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i].h);
^
user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i].c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 5 |
2 | 0ms | 272kb | OK | 5 |
3 | 0ms | 276kb | OK | 5 |
4 | 0ms | 276kb | OK | 5 |
5 | 8ms | 340kb | OK | 5 |
6 | 8ms | 340kb | OK | 5 |
7 | 8ms | 352kb | OK | 5 |
8 | 8ms | 352kb | OK | 5 |
9 | 8ms | 364kb | OK | 5 |
10 | 12ms | 388kb | OK | 5 |
11 | 744ms | 6120kb | Incorect | 0 |
12 | 680ms | 6120kb | Incorect | 0 |
13 | 876ms | 6116kb | Incorect | 0 |
14 | 880ms | 6120kb | Incorect | 0 |
15 | 932ms | 6124kb | Incorect | 0 |
16 | 764ms | 6120kb | Incorect | 0 |
17 | 680ms | 6120kb | OK | 5 |
18 | 896ms | 6120kb | Incorect | 0 |
19 | 904ms | 6120kb | Incorect | 0 |
20 | 916ms | 6120kb | Incorect | 0 |
Punctaj total | 55 |