Pagini recente » Borderou de evaluare (job #578299) | Borderou de evaluare (job #2278156) | Borderou de evaluare (job #1718246) | Borderou de evaluare (job #2122663) | Borderou de evaluare (job #1668943)
Borderou de evaluare (job #1668943)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in","r",stdin);
^
user.cpp:34:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out","w",stdout);
^
user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ch);
^
user.cpp:38:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
/tmp/cc81FhrR.o: In function `main':
user.cpp:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 456kb | OK | 10 |
| 2 | 0ms | 596kb | OK | 10 |
| 3 | 4ms | 1092kb | OK | 10 |
| 4 | 4ms | 1184kb | OK | 10 |
| 5 | 8ms | 1432kb | OK | 10 |
| 6 | 8ms | 1628kb | OK | 10 |
| 7 | 16ms | 2408kb | OK | 10 |
| 8 | 24ms | 3392kb | OK | 10 |
| 9 | 36ms | 4364kb | OK | 10 |
| 10 | 44ms | 5344kb | OK | 10 |
| Punctaj total | 100 |