Borderou de evaluare (job #2370062)

Utilizator cyg_SerbanBFlorin Gheorghe cyg_SerbanB Data 6 martie 2019 10:33:26
Problema Heroes of Might & Magic Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:50:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d",nr); ^ main.cpp:21:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("homm.in","r",stdin); ^ main.cpp:22:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("homm.out","w",stdout); ^ main.cpp:25:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&m,&k); ^ main.cpp:28:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&mat[i][j]); ^ main.cpp:29:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&s.x,&s.y,&f.x,&f.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1252ms39759kbTime limit exceeded0
226ms2490kbOK10
3252ms30060kbTime limit exceeded0
432ms3276kbOK10
5251ms40902kbTime limit exceeded0
6251ms43167kbTime limit exceeded0
7238ms31629kbOK10
8252ms50712kbTime limit exceeded0
9252ms37920kbTime limit exceeded0
1015ms2097kbOK10
Punctaj total40

Ceva nu functioneaza?