Pagini recente » Cod sursa (job #201612) | Borderou de evaluare (job #1202235) | Diferente pentru utilizator/devilshadow intre reviziile 3 si 6 | Cod sursa (job #2829333) | Borderou de evaluare (job #1881488)
Borderou de evaluare (job #1881488)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paranteze.in","r",stdin);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paranteze.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:13:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccXyRPSK.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 | 0ms | 284kb | Incorect | 0 |
| 2 | 0ms | 284kb | OK | 5 |
| 3 | 0ms | 288kb | Incorect | 0 |
| 4 | 0ms | 284kb | OK | 5 |
| 5 | 0ms | 288kb | Incorect | 0 |
| 6 | 0ms | 288kb | OK | 5 |
| 7 | 0ms | 292kb | OK | 5 |
| 8 | 0ms | 284kb | OK | 5 |
| 9 | 0ms | 292kb | OK | 5 |
| 10 | 0ms | 288kb | OK | 5 |
| 11 | 0ms | 332kb | OK | 5 |
| 12 | 0ms | 368kb | OK | 5 |
| 13 | 0ms | 560kb | Incorect | 0 |
| 14 | 4ms | 896kb | Incorect | 0 |
| 15 | 16ms | 1904kb | OK | 5 |
| 16 | 20ms | 2312kb | OK | 5 |
| 17 | 20ms | 2116kb | OK | 5 |
| 18 | 24ms | 2688kb | OK | 5 |
| 19 | 28ms | 2920kb | OK | 5 |
| 20 | 32ms | 3052kb | Incorect | 0 |
| Punctaj total | 70 |