Pagini recente » Borderou de evaluare (job #1258631) | Borderou de evaluare (job #2670591) | Borderou de evaluare (job #1503351) | Borderou de evaluare (job #2379502) | Borderou de evaluare (job #2268814)
Borderou de evaluare (job #2268814)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11: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:12: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:15:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&c);
^
main.cpp:17:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ch);
^
main.cpp:39:20: warning: 'dr' may be used uninitialized in this function [-Wmaybe-uninitialized]
for( i = st; i <= dr; i ++ )
~~^~~~~
main.cpp:13:19: warning: 'st' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,i,c,j,l,st,dr;
^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 11ms | 393kb | OK | 10 |
| 4 | 11ms | 262kb | OK | 10 |
| 5 | 10ms | 393kb | OK | 10 |
| 6 | 8ms | 262kb | OK | 10 |
| 7 | 12ms | 262kb | OK | 10 |
| 8 | 9ms | 262kb | OK | 10 |
| 9 | 17ms | 393kb | OK | 10 |
| 10 | 19ms | 393kb | OK | 10 |
| Punctaj total | 100 |