Borderou de evaluare (job #1329518)

Utilizator Sanduleac_VladSanduleac Vllad Alexandru Sanduleac_Vlad Data 29 ianuarie 2015 16:37:54
Problema Semne3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < urm[q.front()].size(); i++) { ^ user.cpp:40:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < sol.size(); i++) ^ user.cpp:15:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j; ^ user.cpp:16:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("semne3.in", "r", stdin); ^ user.cpp:17:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("semne3.out", "w", stdout); ^ user.cpp:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:19:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c + 1); ^ /tmp/ccG3Y7Tf.o: In function `main': user.cpp:(.text.startup+0x69): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms6144kbGresit.0
28ms6144kbGresit.0
38ms6152kbGresit.0
48ms6180kbGresit.0
560ms8664kbGresit.0
656ms8404kbGresit.0
7104ms10620kbGresit.0
8152ms13516kbGresit.0
9212ms15552kbGresit.0
10288ms17832kbGresit.0
Punctaj total0

Ceva nu functioneaza?