Pagini recente » Borderou de evaluare (job #798184) | Borderou de evaluare (job #1609526) | Borderou de evaluare (job #1648097) | Borderou de evaluare (job #796094) | Borderou de evaluare (job #1521336)
Borderou de evaluare (job #1521336)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:9: warning: unused variable ‘pp’ [-Wunused-variable]
int pp=0;
^
user.cpp:18:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.in","r",stdin);
^
user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.out","w",stdout);
^
user.cpp:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%c",&n,&k,&c);
^
user.cpp:23:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccno4DIq.o: In function `main':
user.cpp:(.text.startup+0x97): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 52ms | 420kb | Incorect | 0 |
| 2 | 52ms | 416kb | OK | 10 |
| 3 | 52ms | 416kb | OK | 10 |
| 4 | 8ms | 308kb | OK | 10 |
| 5 | 48ms | 408kb | Incorect | 0 |
| 6 | 48ms | 408kb | Incorect | 0 |
| 7 | 0ms | 284kb | OK | 10 |
| 8 | 0ms | 288kb | OK | 10 |
| 9 | 0ms | 284kb | OK | 10 |
| 10 | 4ms | 324kb | Incorect | 0 |
| Punctaj total | 60 |