Pagini recente » Borderou de evaluare (job #2966162) | Borderou de evaluare (job #2114992) | Borderou de evaluare (job #346648) | Borderou de evaluare (job #2128696) | Borderou de evaluare (job #2300964)
Borderou de evaluare (job #2300964)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:7:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.in","r",stdin);
^
main.cpp:8:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.out","w",stdout);
^
main.cpp:10:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%s",&n,&c, v+1);
^
main.cpp:37:18: warning: 'drmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=stmax;i<=drmax;i++)
~^~~~~~~
main.cpp:9:36: warning: 'stmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,c,i,st,dr,cnt=0,cntmax=0,stmax,drmax,l;
^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 4ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 5ms | 131kb | OK | 10 |
7 | 7ms | 131kb | OK | 10 |
8 | 6ms | 131kb | OK | 10 |
9 | 10ms | 262kb | OK | 10 |
10 | 11ms | 262kb | OK | 10 |
Punctaj total | 100 |