Pagini recente » Borderou de evaluare (job #3269761) | Borderou de evaluare (job #686036) | Borderou de evaluare (job #737526) | Borderou de evaluare (job #2249192) | Borderou de evaluare (job #1663980)
Borderou de evaluare (job #1663980)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ruksak.in","r",stdin);
^
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ruksak.out","w",stdout);
^
user.cpp:22:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&g); gets(c);
^
user.cpp:22:31: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&g); gets(c);
^
user.cpp:25:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(c); l=strlen(c); aux=0;
^
/tmp/ccztgfEF.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 268ms | 2796kb | OK | 10 | 100 |
2 | 272ms | 2800kb | OK | 10 |
3 | 240ms | 2800kb | OK | 10 |
4 | 268ms | 2800kb | OK | 10 |
5 | 108ms | 2780kb | OK | 10 |
6 | 244ms | 2796kb | OK | 10 |
7 | 268ms | 2800kb | OK | 10 |
8 | 272ms | 2800kb | OK | 10 |
9 | 272ms | 2800kb | OK | 10 |
10 | 140ms | 2788kb | OK | 10 |
Punctaj total | 100 |