Pagini recente » Cod sursa (job #891919) | Cod sursa (job #837121) | Cod sursa (job #655608) | Cod sursa (job #804620) | Borderou de evaluare (job #1513760)
Borderou de evaluare (job #1513760)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld.in", "r", stdin);
^
user.cpp:12:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:45:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld.out", "w", stdout);
^
/tmp/ccnhRIRE.o: In function `read()':
user.cpp:(.text+0x30): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 10 |
| 2 | 0ms | 616kb | OK | 10 |
| 3 | 0ms | 808kb | OK | 10 |
| 4 | 72ms | 10936kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 20ms | 3956kb | OK | 10 |
| 6 | 40ms | 7664kb | OK | 10 |
| 7 | 52ms | 9524kb | OK | 10 |
| 8 | 52ms | 10212kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 56ms | 10656kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 56ms | 10940kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 60 |