Pagini recente » Borderou de evaluare (job #1426514) | Borderou de evaluare (job #2686671) | Borderou de evaluare (job #777694) | Borderou de evaluare (job #2387418) | Borderou de evaluare (job #1559226)
Borderou de evaluare (job #1559226)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.in","r",stdin);
^
user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.out","w",stdout);
^
user.cpp:12:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n); put2[0]=1;
^
user.cpp:15:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
int sol=0; gets(s+1); m=strlen(s+1);
^
/tmp/ccv1UnaJ.o: In function `main':
user.cpp:(.text.startup+0xa8): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 272kb | OK | 10 |
| 5 | 0ms | 268kb | OK | 10 |
| 6 | 8ms | 272kb | OK | 10 |
| 7 | 20ms | 268kb | OK | 10 |
| 8 | 36ms | 272kb | OK | 10 |
| 9 | 76ms | 272kb | OK | 10 |
| 10 | 72ms | 272kb | Incorect | 0 |
| Punctaj total | 90 |