Pagini recente » Borderou de evaluare (job #2214382) | Borderou de evaluare (job #2857900) | Borderou de evaluare (job #794639) | Borderou de evaluare (job #234906) | Borderou de evaluare (job #1212900)
Borderou de evaluare (job #1212900)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d",&n,&m,&p);
^
user.cpp:8:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:8:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:13:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&a[j]);v[a[j]%250001]++;
^
user.cpp:24:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n%d",nr_rand,maxim);
^
user.cpp:24:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.in","r",stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.out","w",stdout);
^
user.cpp:8:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&p);
^
user.cpp:13:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[j]);v[a[j]%250001]++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 1236kb | OK! | 10 |
2 | 8ms | 1232kb | OK! | 10 |
3 | 68ms | 1236kb | OK! | 10 |
4 | 132ms | 1236kb | OK! | 10 |
5 | 204ms | 1240kb | OK! | 10 |
6 | 276ms | 1264kb | OK! | 10 |
7 | 260ms | 1264kb | OK! | 10 |
8 | 228ms | 1912kb | OK! | 10 |
9 | Depăşit | 1224kb | Time limit exceeded. | 0 |
10 | 236ms | 3960kb | OK! | 10 |
Punctaj total | 90 |