Borderou de evaluare (job #1657223)

Utilizator Aquaryus0Alexandru Benchea Aquaryus0 Data 20 martie 2016 12:05:37
Problema Permutari 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:14:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:18:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &a[i]); ^ user.cpp:24:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &b[i]); ^ user.cpp: In function ‘long long int algoritm()’: user.cpp:53:33: warning: for increment expression has no effect [-Wunused-value] for(long long int i=0; i<n; i) ^ user.cpp: In function ‘void read()’: user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &b[i]); ^ user.cpp: In function ‘int main()’: user.cpp:70:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("perm3.in", "r", stdin); ^ user.cpp:71:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("perm3.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbWrong answer!0
20ms460kbOK!10
30ms412kbKilled by signal 11(SIGSEGV).0
40ms408kbKilled by signal 11(SIGSEGV).0
50ms416kbKilled by signal 11(SIGSEGV).0
60ms408kbKilled by signal 11(SIGSEGV).0
70ms412kbKilled by signal 11(SIGSEGV).0
80ms408kbKilled by signal 11(SIGSEGV).0
90ms408kbKilled by signal 11(SIGSEGV).0
100ms476kbWrong answer!0
Punctaj total10

Ceva nu functioneaza?