Pagini recente » Monitorul de evaluare | Monitorul de evaluare | Borderou de evaluare (job #586818) | Borderou de evaluare (job #1905619) | Borderou de evaluare (job #2316118)
Borderou de evaluare (job #2316118)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:16: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
s[i]=NULL;
^~~~
main.cpp:12:9: warning: unused variable 'cnt' [-Wunused-variable]
int cnt=0;
^~~
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:38:16: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=k-1;i>=j;i--)
~^~~
| 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 | 1835kb | OK | 10 |
| 6 | 21ms | 4325kb | OK | 10 |
| 7 | 31ms | 6160kb | Memory limit exceeded | 0 |
| 8 | 34ms | 6160kb | Memory limit exceeded | 0 |
| 9 | 34ms | 6160kb | Memory limit exceeded | 0 |
| 10 | 31ms | 6160kb | Memory limit exceeded | 0 |
| Punctaj total | 60 |