Pagini recente » Borderou de evaluare (job #2440761) | Borderou de evaluare (job #2542722) | Borderou de evaluare (job #1422266) | Borderou de evaluare (job #1692404) | Borderou de evaluare (job #1205276)
Borderou de evaluare (job #1205276)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:12: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
st[k+1]=NULL;
^
user.cpp:16:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( IN , "r" , stdin );
^
user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( OUT , "w" , stdout );
^
user.cpp:18:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d %d\n", &n , &k );
^
user.cpp:19:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
/tmp/ccu2v6mX.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 260kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 264kb | OK | 10 |
| 5 | 0ms | 264kb | OK | 10 |
| 6 | 0ms | 400kb | OK | 10 |
| 7 | 0ms | 376kb | OK | 10 |
| 8 | 16ms | 1772kb | OK | 10 |
| 9 | 16ms | 2156kb | OK | 10 |
| 10 | 16ms | 1828kb | OK | 10 |
| Punctaj total | 100 |