Pagini recente » Borderou de evaluare (job #2886654) | Borderou de evaluare (job #477876) | Borderou de evaluare (job #699471) | Borderou de evaluare (job #2236909) | Borderou de evaluare (job #1414783)
Borderou de evaluare (job #1414783)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:9:13: warning: variable ‘lung’ set but not used [-Wunused-but-set-variable]
int c=0,lung;
^
user.cpp: In function ‘int main()’:
user.cpp:32: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:33: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:34:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&k);
^
user.cpp:37:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccpoO1Po.o: In function `main':
user.cpp:(.text.startup+0x76): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 4ms | 924kb | OK | 10 |
4 | 4ms | 1020kb | OK | 10 |
5 | 8ms | 1260kb | OK | 10 |
6 | 8ms | 1464kb | OK | 10 |
7 | 16ms | 2244kb | OK | 10 |
8 | 24ms | 3224kb | OK | 10 |
9 | 32ms | 4196kb | OK | 10 |
10 | 40ms | 5176kb | OK | 10 |
Punctaj total | 100 |