Borderou de evaluare (job #2549041)

Utilizator ialexia_ioanaAlexia Ichim ialexia_ioana Data 17 februarie 2020 11:22:36
Problema Permutare4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int aduna_perm(int)': main.cpp:18:18: warning: statement has no effect [-Wunused-value] for(i; i<=n; i++) ^ main.cpp:26:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:64:18: warning: statement has no effect [-Wunused-value] for(k; k>=1; k--) ^ main.cpp:49:41: 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:50:43: 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:60:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ main.cpp:73:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:75:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &s[i]); ^ main.cpp:94:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
142ms131kbOK10
21468ms1048kbOK10
31500ms131kbTime limit exceeded0
41500ms131kbTime limit exceeded0
51503ms131kbTime limit exceeded0
6701ms3670kbOK10
71502ms131kbTime limit exceeded0
81502ms131kbTime limit exceeded0
926ms131kbOK10
102ms131kbOK10
Punctaj total50

Ceva nu functioneaza?