Pagini recente » Borderou de evaluare (job #2891350) | Borderou de evaluare (job #2565529) | Borderou de evaluare (job #717617) | Borderou de evaluare (job #2345000) | Borderou de evaluare (job #1471359)
Borderou de evaluare (job #1471359)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:57:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sarpe.in", "r", stdin);
^
user.cpp:58:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); v[0] = strlen(s);
^
user.cpp:61:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sarpe.out", "w", stdout);
^
user.cpp: In function ‘void write()’:
user.cpp:81:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sarpe.out", "w", stdout);
^
/tmp/cccV4TpS.o: In function `read()':
user.cpp:(.text+0x250): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 228kb | Incorect | 0 |
| 2 | 0ms | 1416kb | OK | 10 |
| 3 | 0ms | 1416kb | OK | 10 |
| 4 | 0ms | 1420kb | OK | 10 |
| 5 | 0ms | 1416kb | Incorect | 0 |
| 6 | 0ms | 1416kb | OK | 10 |
| 7 | 0ms | 1420kb | Incorect | 0 |
| 8 | 4ms | 1420kb | OK | 10 |
| 9 | 4ms | 1424kb | OK | 10 |
| 10 | 8ms | 1432kb | OK | 10 |
| Punctaj total | 70 |