Pagini recente » Cod sursa (job #2829236) | Borderou de evaluare (job #1560099) | Borderou de evaluare (job #3268177) | Borderou de evaluare (job #1043895) | Borderou de evaluare (job #869511)
Borderou de evaluare (job #869511)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:51: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:55: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
In file included from /usr/include/stdio.h:910,
from /usr/include/c++/4.4/cstdio:45,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:55:
/usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size
/tmp/ccQyKeVE.o: In function `main':
user.cpp:(.text+0x258): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 244kb | OK | 10 |
| 2 | 4ms | 264kb | OK | 10 |
| 3 | 20ms | 360kb | OK | 10 |
| 4 | 20ms | 356kb | OK | 10 |
| 5 | 16ms | 364kb | OK | 10 |
| 6 | 16ms | 356kb | OK | 10 |
| 7 | 20ms | 360kb | OK | 10 |
| 8 | 8ms | 380kb | OK | 10 |
| 9 | 16ms | 360kb | OK | 10 |
| 10 | 16ms | 364kb | OK | 10 |
| Punctaj total | 100 |