Pagini recente » Borderou de evaluare (job #1257910) | Borderou de evaluare (job #781009) | Borderou de evaluare (job #1973168) | Borderou de evaluare (job #2121243) | Borderou de evaluare (job #1643025)
Borderou de evaluare (job #1643025)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out","w",stdout);
^
user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:31:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp: In function ‘int caut(int, int, int)’:
user.cpp:20:13: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(s[poz]==val)
^
user.cpp: In function ‘int main()’:
user.cpp:53:19: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sol[m]=pos;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 0ms | 304kb | OK | 10 |
6 | 0ms | 304kb | OK | 10 |
7 | 16ms | Depăşit | Memory limit exceeded. | 0 |
8 | 24ms | Depăşit | Memory limit exceeded. | 0 |
9 | 12ms | Depăşit | Memory limit exceeded. | 0 |
10 | 12ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 60 |