Pagini recente » Borderou de evaluare (job #2457376) | Borderou de evaluare (job #1766573) | Borderou de evaluare (job #968839) | Borderou de evaluare (job #2487628) | Borderou de evaluare (job #1643018)
Borderou de evaluare (job #1643018)
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:20:13: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:8:9: note: ‘poz’ was declared here
int poz;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 284kb | Incorect | 0 |
4 | 0ms | 264kb | OK | 10 |
5 | 0ms | 320kb | Incorect | 0 |
6 | 0ms | 316kb | Incorect | 0 |
7 | 16ms | Depăşit | Memory limit exceeded. | 0 |
8 | 24ms | Depăşit | Memory limit exceeded. | 0 |
9 | 16ms | Depăşit | Memory limit exceeded. | 0 |
10 | 12ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 20 |