Pagini recente » Borderou de evaluare (job #1782283) | Borderou de evaluare (job #2073784) | Borderou de evaluare (job #1761553) | Borderou de evaluare (job #443648) | Borderou de evaluare (job #1714974)
Borderou de evaluare (job #1714974)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14: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:15: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:20: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:22:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:71:27: warning: ‘sf’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d %d\n",sf-k+1,sf,maxx);
^
/tmp/ccldff0Q.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 276kb | OK | 10 |
2 | 16ms | 416kb | OK | 10 |
3 | 20ms | 912kb | OK | 10 |
4 | 20ms | 1008kb | OK | 10 |
5 | 24ms | 1252kb | OK | 10 |
6 | 24ms | 1444kb | OK | 10 |
7 | 28ms | 2232kb | OK | 10 |
8 | 36ms | 3212kb | OK | 10 |
9 | 40ms | 4188kb | OK | 10 |
10 | 48ms | 5172kb | OK | 10 |
Punctaj total | 100 |