Borderou de evaluare (job #1307753)

Utilizator diana-t95FMI Tudoreanu Diana Elena diana-t95 Data 2 ianuarie 2015 19:35:55
Problema Statistici de ordine Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void sdo(int, int, int)’: user.cpp:16:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(m[i]<x) ^ user.cpp:21:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(m[i]>x) ^ user.cpp:26:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(m[i]==x) ^ user.cpp: In function ‘int main()’: user.cpp:51:27: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=] scanf("%u ", &m[i]); ^ user.cpp:53:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%d", m[k]); ^ user.cpp:45:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sdo.in", "r", stdin); ^ user.cpp:46:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sdo.out", "w", stdout); ^ user.cpp:47:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &n, &k); ^ user.cpp:51:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u ", &m[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms264kbOK1010
232ms976kbIncorect00
320ms796kbIncorect00
424ms936kbIncorect00
552ms1240kbIncorect00
696ms1404kbWall time limit exceeded.00
796ms1404kbWall time limit exceeded.00
896ms1400kbWall time limit exceeded.00
996ms1404kbWall time limit exceeded.0
1092ms1400kbWall time limit exceeded.0
Punctaj total10

Ceva nu functioneaza?