Pagini recente » Borderou de evaluare (job #2428737) | Borderou de evaluare (job #2158311) | Borderou de evaluare (job #1667209) | Borderou de evaluare (job #1085932) | Borderou de evaluare (job #1500324)
Borderou de evaluare (job #1500324)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<=strlen(s);++j)
^
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("muzeu.in","r",stdin);
^
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.out","w",stdout);
^
user.cpp:21:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:27:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccrAe3Kn.o: In function `main':
user.cpp:(.text.startup+0xe5): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 10 |
2 | 0ms | 316kb | OK | 10 |
3 | 0ms | 368kb | OK | 10 |
4 | 4ms | 432kb | OK | 10 |
5 | 12ms | 676kb | OK | 10 |
6 | 28ms | 780kb | OK | 10 |
7 | 28ms | 564kb | OK | 10 |
8 | 28ms | 752kb | OK | 10 |
9 | 28ms | 628kb | OK | 10 |
10 | 24ms | 852kb | OK | 10 |
Punctaj total | 100 |