Borderou de evaluare (job #1338704)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 10 februarie 2015 11:47:11
Problema Radio2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:70:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (r = 0; r < H[auxF].size() && !ok; ++r) ^ user.cpp:92:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (r = 0; r < H[auxF].size() && !ok; ++r) ^ user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("radio2.in","r",stdin); ^ user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("radio2.out","w",stdout); ^ user.cpp:28:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d\n", &n , &m , &l , &k); ^ user.cpp:30:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S + 1); sil = l / ( k + 1 ); ^ user.cpp:60:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(A + 1); ^ /tmp/cciXLWoh.o: In function `main': user.cpp:(.text.startup+0x82): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms8056kbKilled by signal 11(SIGSEGV).0
2104ms8224kbIncorect0
3524ms18244kbOK5
412ms9032kbKilled by signal 11(SIGSEGV).0
588ms9164kbIncorect0
68ms8124kbKilled by signal 11(SIGSEGV).0
78ms8140kbKilled by signal 11(SIGSEGV).0
88ms8136kbKilled by signal 11(SIGSEGV).0
9272ms12756kbIncorect0
108ms8424kbKilled by signal 11(SIGSEGV).0
118ms8436kbKilled by signal 11(SIGSEGV).0
128ms8452kbKilled by signal 11(SIGSEGV).0
138ms8532kbKilled by signal 11(SIGSEGV).0
14456ms14540kbIncorect0
1512ms8760kbKilled by signal 11(SIGSEGV).0
16620ms16736kbIncorect0
1712ms8888kbKilled by signal 11(SIGSEGV).0
1812ms9012kbKilled by signal 11(SIGSEGV).0
19632ms18328kbIncorect0
20916ms18332kbIncorect0
Punctaj total5

Ceva nu functioneaza?