Pagini recente » Borderou de evaluare (job #100709) | Borderou de evaluare (job #2366039) | Borderou de evaluare (job #1334755) | Borderou de evaluare (job #2385882) | Borderou de evaluare (job #1840222)
Borderou de evaluare (job #1840222)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:114:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri2.in","r",stdin);
^
user.cpp:115:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri2.out","w",stdout);
^
user.cpp:116:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
ch=0;gets(s);
^
user.cpp:120:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
ch=0;gets(s);
^
user.cpp:127:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);ch=0;
^
user.cpp:131:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
ch=0;gets(s);
^
/tmp/cckxNQfj.o: In function `main':
user.cpp:(.text.startup+0x60): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 548kb | OK | 10 |
2 | 552ms | 4372kb | OK | 10 |
3 | 4ms | 820kb | OK | 10 |
4 | 872ms | 4372kb | OK | 10 |
5 | 872ms | 4368kb | OK | 10 |
6 | 104ms | 820kb | OK | 10 |
7 | 620ms | 4368kb | OK | 10 |
8 | 212ms | 2400kb | OK | 10 |
9 | 652ms | 4368kb | OK | 10 |
10 | 640ms | 4324kb | OK | 10 |
Punctaj total | 100 |