Pagini recente » Borderou de evaluare (job #1128418) | Borderou de evaluare (job #2790712) | Borderou de evaluare (job #1568838) | Borderou de evaluare (job #2790679) | Borderou de evaluare (job #1668125)
Borderou de evaluare (job #1668125)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("restante.in","r",stdin);
^
user.cpp:16:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("restante.out","w",stdout);
^
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n); int nr=0;
^
user.cpp:22:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); int m=strlen(s+1);
^
/tmp/ccemZJpI.o: In function `main':
user.cpp:(.text.startup+0x96): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 384kb | OK | 10 |
4 | 0ms | 564kb | OK | 10 |
5 | 0ms | 488kb | OK | 10 |
6 | 16ms | 920kb | Incorect | 0 |
7 | 16ms | 920kb | Incorect | 0 |
8 | 12ms | 920kb | Incorect | 0 |
9 | 12ms | 920kb | Incorect | 0 |
10 | 8ms | 924kb | Incorect | 0 |
Punctaj total | 50 |