Borderou de evaluare (job #2515815)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 29 decembrie 2019 16:30:20
Problema 4x4puzzle Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d",&n); ^ main.cpp:22:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d",&v[i]); ^ main.cpp:36:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d %d",p1,p2); ^ main.cpp:36:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] main.cpp:17:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("3secv.in","r",stdin); ^ main.cpp:18:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("3secv.out","w",stdout); ^ main.cpp:20:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:22:26: 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
12ms131kbFisier de iesire lipsa0
Punctaj total0

Ceva nu functioneaza?