Pagini recente » Borderou de evaluare (job #3261518) | Borderou de evaluare (job #2750572) | Borderou de evaluare (job #3205765) | Borderou de evaluare (job #2257982) | Borderou de evaluare (job #1500296)
Borderou de evaluare (job #1500296)
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/ccG3XPCm.o: In function `main':
user.cpp:(.text.startup+0xf5): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK | 10 |
2 | 0ms | 324kb | Incorect | 0 |
3 | 0ms | 368kb | Incorect | 0 |
4 | 4ms | 436kb | Incorect | 0 |
5 | 12ms | 680kb | Incorect | 0 |
6 | 24ms | 776kb | Incorect | 0 |
7 | 28ms | 564kb | Incorect | 0 |
8 | 28ms | 748kb | Incorect | 0 |
9 | 28ms | 628kb | Incorect | 0 |
10 | 24ms | 852kb | Incorect | 0 |
Punctaj total | 10 |