Pagini recente » Borderou de evaluare (job #2205808) | Borderou de evaluare (job #26589) | Borderou de evaluare (job #1820981) | Borderou de evaluare (job #1561272) | Borderou de evaluare (job #1236906)
Borderou de evaluare (job #1236906)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int, int)’:
user.cpp:9:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(d[l][r]==0)
^
user.cpp: In function ‘int main()’:
user.cpp:22:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stiva.in","r",stdin);
^
user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stiva.out","w",stdout);
^
user.cpp:24:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cchx1fp4.o: In function `main':
user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 296kb | Incorect | 0 |
| 2 | 0ms | 436kb | Incorect | 0 |
| 3 | 0ms | 548kb | Incorect | 0 |
| 4 | 0ms | 452kb | Incorect | 0 |
| 5 | 0ms | 512kb | OK | 10 |
| 6 | 4ms | 1092kb | Incorect | 0 |
| 7 | 12ms | 1352kb | Incorect | 0 |
| 8 | 28ms | 1384kb | Incorect | 0 |
| 9 | 52ms | 1576kb | Incorect | 0 |
| 10 | 48ms | 1728kb | Incorect | 0 |
| Punctaj total | 10 |