Pagini recente » Borderou de evaluare (job #2677205) | Borderou de evaluare (job #526762) | Borderou de evaluare (job #216911) | Borderou de evaluare (job #2802565) | Borderou de evaluare (job #1702175)
Borderou de evaluare (job #1702175)
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/ccs1Xv1C.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 | 688kb | Incorect | 0 |
| 3 | 0ms | 696kb | Incorect | 0 |
| 4 | 0ms | 1464kb | Incorect | 0 |
| 5 | 4ms | 2492kb | Incorect | 0 |
| 6 | 4ms | 2492kb | Incorect | 0 |
| 7 | 12ms | 4548kb | Incorect | 0 |
| 8 | 16ms | 4552kb | Incorect | 0 |
| 9 | 12ms | 4548kb | Incorect | 0 |
| 10 | 12ms | 4548kb | Incorect | 0 |
| Punctaj total | 10 |