Borderou de evaluare (job #1963344)

Utilizator giotoPopescu Ioan gioto Data 12 aprilie 2017 14:17:22
Problema Divseq Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &a[i]); ^ user.cpp:41:30: warning: unused variable ‘ok’ [-Wunused-variable] int pos = 0, ok = 0; ^ user.cpp:23:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("divseq.in", "r", stdin); ^ user.cpp:24:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("divseq.out", "w", stdout); ^ user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:27:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms368kbKilled by signal 6(SIGABRT).0
20ms372kbKilled by signal 6(SIGABRT).0
30ms372kbKilled by signal 6(SIGABRT).0
40ms372kbKilled by signal 6(SIGABRT).0
50ms372kbKilled by signal 6(SIGABRT).0
632ms1148kbKilled by signal 6(SIGABRT).0
732ms1156kbKilled by signal 6(SIGABRT).0
876ms2324kbKilled by signal 6(SIGABRT).0
976ms2312kbKilled by signal 6(SIGABRT).0
1084ms2316kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?