Pagini recente » Borderou de evaluare (job #2490065) | Borderou de evaluare (job #1392172) | Borderou de evaluare (job #2877840) | Borderou de evaluare (job #2572270) | Borderou de evaluare (job #1510334)
Borderou de evaluare (job #1510334)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in","r",stdin);
^
user.cpp:21:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out","w",stdout);
^
user.cpp:22:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m); gets(s);
^
user.cpp:22:30: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m); gets(s);
^
user.cpp:23:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); findmax(1); puts(sol+1);
^
user.cpp: In function ‘void findmax(int)’:
user.cpp:17:22: warning: ‘nextpos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
findmax(nextpos+1);
^
/tmp/cckuyLGg.o: In function `main':
user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 0ms | 396kb | OK | 10 |
7 | 0ms | 376kb | OK | 10 |
8 | 12ms | 1772kb | OK | 10 |
9 | 12ms | 2152kb | OK | 10 |
10 | 12ms | 1832kb | OK | 10 |
Punctaj total | 100 |