Pagini recente » Borderou de evaluare (job #1808013) | Borderou de evaluare (job #2389728) | Borderou de evaluare (job #2510123) | Borderou de evaluare (job #2445227) | Borderou de evaluare (job #2274105)
Borderou de evaluare (job #2274105)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:8:13: warning: unused variable 'k' [-Wunused-variable]
int n , k , total = 0 , c , maximum = -1 , start , stop;
^
main.cpp:6:37: 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:7:39: 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:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d " , &n , &c);
^
main.cpp:13:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c" , &s[i]);
^
main.cpp:32:17: warning: 'stop' may be used uninitialized in this function [-Wmaybe-uninitialized]
for( ;start <= stop ; start ++)
~~~~~~^~~~~~~
main.cpp:8:48: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n , k , total = 0 , c , maximum = -1 , start , stop;
^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 11ms | 131kb | OK | 10 |
4 | 11ms | 131kb | OK | 10 |
5 | 10ms | 131kb | OK | 10 |
6 | 7ms | 131kb | OK | 10 |
7 | 11ms | 131kb | OK | 10 |
8 | 10ms | 131kb | OK | 10 |
9 | 16ms | 262kb | OK | 10 |
10 | 19ms | 262kb | OK | 10 |
Punctaj total | 100 |