Borderou de evaluare (job #1632718)

Utilizator TeamFIIEUAIC ASD TeamFIIE Data 6 martie 2016 10:47:40
Problema Unlock Status done
Runda ONIS 2016, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:17: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld", &T); ^ user.cpp:29:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n", result); ^ user.cpp: In function ‘int solve()’: user.cpp:70:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld", &n, &m, &k); ^ user.cpp:70:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:70:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:76:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld", &(v[i][j])); ^ user.cpp: In function ‘int main()’: user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("unlock.in", "rt", stdin); ^ user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("unlock.out", "wt", stdout); ^ user.cpp:26:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &T); ^ user.cpp: In function ‘int solve()’: user.cpp:70:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld %ld", &n, &m, &k); ^ user.cpp:76:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &(v[i][j])); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit744kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?