Pagini recente » Cod sursa (job #294154) | Cod sursa (job #86899) | Cod sursa (job #2248100) | Monitorul de evaluare | Borderou de evaluare (job #2041021)
Borderou de evaluare (job #2041021)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.in","r",stdin);
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.out","w",stdout);
^
user.cpp:28:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:30:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccvpG6f4.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2608kb | OK! | 10 |
| 2 | 4ms | 2608kb | OK! | 10 |
| 3 | 8ms | 2604kb | OK! | 10 |
| 4 | 12ms | 2628kb | OK! | 10 |
| 5 | 12ms | 3096kb | OK! | 10 |
| 6 | 36ms | 2800kb | OK! | 10 |
| 7 | 56ms | 2948kb | OK! | 10 |
| 8 | 76ms | 3096kb | OK! | 10 |
| 9 | 36ms | 2740kb | OK! | 10 |
| 10 | 60ms | 2864kb | Raspuns gresit! | 0 |
| Punctaj total | 90 |