Borderou de evaluare (job #2321966)

Utilizator giotoPopescu Ioan gioto Data 16 ianuarie 2019 21:03:32
Problema Permutare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:9: warning: unused variable 'tip' [-Wunused-variable] int tip = 1, st = 1, dr = 2, j = 2; ^~~ main.cpp:8:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("permutare.in", "r", stdin); ^ main.cpp:9:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("permutare.out", "w", stdout); ^ main.cpp:11:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:13: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
12ms131kbRaspuns corect10
24ms131kbRaspuns corect10
34ms131kbRaspuns corect10
44ms131kbRaspuns corect10
52ms131kbRaspuns corect10
651ms1310kbRaspuns corect10
765ms1703kbRaspuns corect10
866ms1835kbRaspuns corect10
990ms2359kbRaspuns corect10
1069ms1835kbRaspuns corect10
Punctaj total100

Ceva nu functioneaza?