Pagini recente » Borderou de evaluare (job #505288) | Borderou de evaluare (job #961576) | Borderou de evaluare (job #2672879) | Borderou de evaluare (job #747538) | Borderou de evaluare (job #1702172)
Borderou de evaluare (job #1702172)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:61:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii.in","r",stdin);
^
user.cpp:62:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii.out","w",stdout);
^
user.cpp:64:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:67:30: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for (gets(A+1), j = 1; j <= n; ++j)
^
/tmp/cc2Tso8F.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 560kb | OK | 10 |
| 2 | 0ms | 692kb | Incorect | 0 |
| 3 | 0ms | 696kb | Incorect | 0 |
| 4 | 0ms | 1464kb | Incorect | 0 |
| 5 | 4ms | 2488kb | Incorect | 0 |
| 6 | 4ms | 2496kb | Incorect | 0 |
| 7 | 12ms | 4548kb | Incorect | 0 |
| 8 | 16ms | 4552kb | Incorect | 0 |
| 9 | 12ms | 4544kb | Incorect | 0 |
| 10 | 12ms | 4552kb | Incorect | 0 |
| Punctaj total | 10 |