Pagini recente » Borderou de evaluare (job #1544868) | Borderou de evaluare (job #1495311) | Borderou de evaluare (job #534267) | Borderou de evaluare (job #2280991) | Borderou de evaluare (job #1462851)
Borderou de evaluare (job #1462851)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if(s%k!=0) printf("%ld\n",-1);
^
user.cpp:29:49: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
else if(dr>s) {printf("%ld\n",-1); i=n+1; ok=1;}
^
user.cpp:31:60: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if(!ok) for(i=1;i<=a[0];++i) printf("%ld ",a[i]);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out","w",stdout);
^
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:14:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v);
^
user.cpp:23:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:26:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 4ms | 272kb | OK | 10 |
7 | 20ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 60ms | Depăşit | Memory limit exceeded. | 0 |
9 | 36ms | 268kb | Incorect | 0 |
10 | 16ms | 268kb | OK | 10 |
Punctaj total | 40 |