Borderou de evaluare (job #2640871)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 8 august 2020 20:43:25
Problema Pascal Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:21: warning: unused variable 'x' [-Wunused-variable] int n , d , i , x , j , nr; ^ main.cpp:29:25: warning: unused variable 'j' [-Wunused-variable] int n , d , i , x , j , nr; ^ main.cpp:27:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pascal.in" , "r" , stdin); ^ main.cpp:28:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pascal.out" , "w" , stdout); ^ main.cpp:30:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n , &d); ^ main.cpp:55:22: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized] nr ++; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOk!10
2157ms20185kbOk!10
3135ms20054kbWrong answer!0
4109ms13500kbOk!10
534ms7077kbOk!10
62ms131kbOk!10
72ms131kbOk!10
87ms917kbWrong answer!0
92ms131kbOk!10
10200ms40108kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?