Pagini recente » Borderou de evaluare (job #730258) | Borderou de evaluare (job #1772125) | Borderou de evaluare (job #1777630) | Borderou de evaluare (job #2009844) | Borderou de evaluare (job #1212891)
Borderou de evaluare (job #1212891)
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 | 1092kb | A doua linie corecta! | 6 |
2 | 4ms | 1080kb | A doua linie corecta! | 6 |
3 | 40ms | 612kb | A doua linie corecta! | 6 |
4 | 0ms | 344kb | Killed by signal 6(SIGABRT). | 0 |
5 | 4ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
6 | 4ms | 372kb | Killed by signal 6(SIGABRT). | 0 |
7 | 4ms | 380kb | Killed by signal 6(SIGABRT). | 0 |
8 | 60ms | 1020kb | Killed by signal 6(SIGABRT). | 0 |
9 | 4ms | 1328kb | Killed by signal 6(SIGABRT). | 0 |
10 | 224ms | 3068kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 18 |