Pagini recente » Borderou de evaluare (job #1323629) | Borderou de evaluare (job #1491851) | Borderou de evaluare (job #1573256) | Borderou de evaluare (job #2232029) | Borderou de evaluare (job #1663968)
Borderou de evaluare (job #1663968)
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/ccu4KES0.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 | 272ms | 2808kb | OK | 10 | 0 |
2 | 272ms | 2808kb | OK | 10 |
3 | 240ms | 2804kb | OK | 10 |
4 | 296ms | 2808kb | OK | 10 |
5 | 104ms | 2788kb | OK | 10 |
6 | 236ms | 2808kb | OK | 10 |
7 | 272ms | 2804kb | OK | 10 |
8 | 272ms | 2808kb | OK | 10 |
9 | 268ms | 2804kb | OK | 10 |
10 | Depăşit | 2760kb | Time limit exceeded. | 0 |
Punctaj total | 0 |