Pagini recente » Borderou de evaluare (job #1434280) | Borderou de evaluare (job #1876030) | Borderou de evaluare (job #1250980) | Borderou de evaluare (job #867508) | Borderou de evaluare (job #1212964)
Borderou de evaluare (job #1212964)
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:26: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:26: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 | 0ms | 1076kb | A doua linie corecta! | 6 |
2 | 0ms | 1060kb | A doua linie corecta! | 6 |
3 | 28ms | 604kb | A doua linie corecta! | 6 |
4 | 64ms | 1000kb | A doua linie corecta! | 6 |
5 | 132ms | 1008kb | A doua linie corecta! | 6 |
6 | 236ms | 548kb | A doua linie corecta! | 6 |
7 | 224ms | 548kb | A doua linie corecta! | 6 |
8 | 228ms | 1436kb | A doua linie corecta! | 6 |
9 | Depăşit | 1220kb | Time limit exceeded. | 0 |
10 | 240ms | 3720kb | OK! | 10 |
Punctaj total | 58 |