Borderou de evaluare (job #2559818)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 27 februarie 2020 17:11:42
Problema Permutare4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:67:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d ", &p); ^ main.cpp:50:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("permutare4.in", "r", stdin); ^ main.cpp:51:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("permutare4.out", "w", stdout); ^ main.cpp:62:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &cerinta, &n); ^ main.cpp:67:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &p); ^ main.cpp:90:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
121ms7208kbOK10
2113ms8257kbIncorect0
3636ms16384kbIncorect0
4621ms11796kbIncorect0
5535ms11010kbIncorect0
6503ms11141kbKilled by Signal 110
7528ms7208kbIncorect0
897ms7208kbIncorect0
924ms7208kbIncorect0
1019ms7208kbIncorect0
Punctaj total10

Ceva nu functioneaza?