Pagini recente » Progresie | trezeste-te01 | Borderou de evaluare (job #1087828) | Cod sursa (job #1725653) | Borderou de evaluare (job #1751802)
Borderou de evaluare (job #1751802)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("enigma.in", "r", stdin);
^
user.cpp:39:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("enigma.out", "w", stdout);
^
user.cpp:43:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:44:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(text + 1);
^
user.cpp:46:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(word + 1);
^
/tmp/cc2ZhcMC.o: In function `main':
user.cpp:(.text.startup+0xa1): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 508kb | OK | 10 |
| 2 | 0ms | 944kb | OK | 10 |
| 3 | 28ms | 11328kb | OK | 10 |
| 4 | 60ms | 19768kb | OK | 10 |
| 5 | 16ms | 3304kb | OK | 10 |
| 6 | 32ms | 6880kb | OK | 10 |
| 7 | 84ms | 16920kb | OK | 10 |
| 8 | 96ms | 21868kb | OK | 10 |
| 9 | 244ms | 2932kb | OK | 10 |
| 10 | 112ms | 34468kb | OK | 10 |
| Punctaj total | 100 |