Pagini recente » Borderou de evaluare (job #1968280) | Borderou de evaluare (job #157895) | Borderou de evaluare (job #825945) | Borderou de evaluare (job #615429) | Borderou de evaluare (job #1662073)
Borderou de evaluare (job #1662073)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("par.in","r",stdin);
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("par.out","w",stdout);
^
user.cpp:8:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:9:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccmiMjIh.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 |
Punctaj/grupa |
1 | 0ms | 280kb | Incorect | 0 | 0 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 | 10 |
4 | 0ms | 264kb | Incorect | 0 | 0 |
5 | 0ms | 260kb | Incorect | 0 | 0 |
6 | 0ms | 280kb | OK | 10 | 10 |
7 | 0ms | 264kb | Incorect | 0 | 0 |
8 | 0ms | 284kb | Incorect | 0 | 0 |
9 | 0ms | 284kb | Incorect | 0 | 0 |
10 | 0ms | 288kb | OK | 10 | 10 |
Punctaj total | 30 |