Borderou de evaluare (job #2445555)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:42:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ssm.in","r",stdin);
^
main.cpp:43:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ssm.out","w",stdout);
^
main.cpp:44:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:48:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
main.cpp:54:38: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<ans<<' '<<start<<' '<<start+len-1<<'\n';
~~~~~^~~~
main.cpp:54:38: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 4ms | 131kb | OK | 5 |
| 6 | 5ms | 262kb | OK | 5 |
| 7 | 9ms | 393kb | OK | 5 |
| 8 | 12ms | 393kb | OK | 5 |
| 9 | 35ms | 782kb | OK | 5 |
| 10 | 65ms | 1302kb | OK | 5 |
| 11 | 141ms | 2347kb | OK | 5 |
| 12 | 199ms | 4440kb | OK | 5 |
| 13 | 247ms | 4440kb | OK | 5 |
| 14 | 313ms | 4440kb | OK | 5 |
| 15 | 1293ms | 33787kb | OK | 5 |
| 16 | 1602ms | 33824kb | Time limit exceeded | 0 |
| 17 | 1603ms | 33787kb | Time limit exceeded | 0 |
| 18 | 1600ms | 33787kb | Time limit exceeded | 0 |
| 19 | 1603ms | 33787kb | Time limit exceeded | 0 |
| 20 | 1601ms | 33787kb | Time limit exceeded | 0 |
| Punctaj total | 75 |