Borderou de evaluare (job #1400437)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 25 martie 2015 12:03:34
Problema Logs Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<ord.size();j++) ^ user.cpp:28:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.in", "r", stdin); ^ user.cpp:29:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.out", "w", stdout); ^ user.cpp:30:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &m); ^ user.cpp:35:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/cclFhb3c.o: In function `main': user.cpp:(.text.startup+0xe8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbOK10
24ms308kbOK10
320ms316kbOK10
4152ms320kbOK10
5Depăşit288kbTime limit exceeded.0
6264ms324kbOK10
7240ms324kbOK10
8Depăşit292kbTime limit exceeded.0
9276ms320kbOK10
10264ms320kbOK10
Punctaj total80

Ceva nu functioneaza?