Pagini recente » Monitorul de evaluare | Cod sursa (job #1913855) | Borderou de evaluare (job #2001873) | Borderou de evaluare (job #1775195) | Borderou de evaluare (job #1981254)
Borderou de evaluare (job #1981254)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:89:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.in","r",stdin);
^
user.cpp:90:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.out","w",stdout);
^
user.cpp:91:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&a,&r,&k);
^
user.cpp:94:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:95:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccoeq9Ma.o: In function `main':
user.cpp:(.text.startup+0xae): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 476kb | OK | 10 |
| 2 | 0ms | 488kb | OK | 10 |
| 3 | 0ms | 552kb | OK | 10 |
| 4 | 4ms | 612kb | OK | 10 |
| 5 | 24ms | 1192kb | Partial incorect | 5 |
| 6 | 48ms | 1792kb | Partial incorect | 5 |
| 7 | 84ms | 2788kb | Partial incorect | 5 |
| 8 | 176ms | 6916kb | Partial incorect | 5 |
| 9 | 20ms | 788kb | OK | 10 |
| 10 | 168ms | 6964kb | OK | 10 |
| Punctaj total | 80 |