Pagini recente » Borderou de evaluare (job #2685749) | Borderou de evaluare (job #1392864) | Borderou de evaluare (job #1763762) | Borderou de evaluare (job #1837221) | Borderou de evaluare (job #2316116)
Borderou de evaluare (job #2316116)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:16: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
s[i]=NULL;
^~~~
main.cpp:5:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("numar3.in","r",stdin);
^
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("numar3.out","w",stdout);
^
main.cpp:10:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&k);
^
main.cpp:11:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s,5000000,stdin);
^
main.cpp:33:9: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(v[med]<=val)st=med+1;
^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 4ms | 393kb | OK | 10 |
| 5 | 11ms | 1966kb | OK | 10 |
| 6 | 22ms | 4456kb | OK | 10 |
| 7 | 29ms | 6160kb | Memory limit exceeded | 0 |
| 8 | 46ms | 5636kb | Incorect | 0 |
| 9 | 34ms | 6160kb | Memory limit exceeded | 0 |
| 10 | 32ms | 6160kb | Memory limit exceeded | 0 |
| Punctaj total | 60 |