Borderou de evaluare (job #1969852)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 18 aprilie 2017 17:59:23
Problema Sir8 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir8.in", "r", stdin); ^ user.cpp:33:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir8.out", "w", stdout); ^ user.cpp:35:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(A); ^ user.cpp:39:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &nc); ^ user.cpp:41:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(B); ^ user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ user.cpp:52:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &opType, &poz); ^ user.cpp:56:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c%d%d", &ch, &a, &b); ^ user.cpp:67:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &idx, &a, &b); ^ /tmp/ccHbTyPd.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
136ms476kbOK10
212ms480kbOK10
3Depăşit548kbTime limit exceeded.0
41708ms540kbOK10
51576ms540kbOK10
61540ms540kbOK10
71528ms548kbOK10
81696ms552kbOK10
91524ms544kbOK10
101180ms560kbOK10
Punctaj total90

Ceva nu functioneaza?