Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2546281)
| Utilizator | Data | 13 februarie 2020 23:19:44 | |
|---|---|---|---|
| Problema | Calc | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 15 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:38:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&tip,&n);
^
main.cpp:39:19: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s+1,N,fin);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:39:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 2ms | 131kb | Incorect | 0 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 2ms | 131kb | Incorect | 0 |
| 7 | 2ms | 131kb | Incorect | 0 |
| 8 | 2ms | 131kb | Incorect | 0 |
| 9 | 2ms | 131kb | Incorect | 0 |
| 10 | 2ms | 131kb | Incorect | 0 |
| 11 | 2ms | 131kb | Incorect | 0 |
| 12 | 2ms | 131kb | Incorect | 0 |
| 13 | 2ms | 131kb | Incorect | 0 |
| 14 | 2ms | 131kb | Incorect | 0 |
| 15 | 2ms | 131kb | Incorect | 0 |
| 16 | 3ms | 393kb | Incorect | 0 |
| 17 | 3ms | 393kb | Incorect | 0 |
| 18 | 3ms | 524kb | Incorect | 0 |
| 19 | 4ms | 786kb | Incorect | 0 |
| 20 | 5ms | 1179kb | Incorect | 0 |
| Punctaj total | 15 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
