Pagini recente » Cod sursa (job #5994) | Atasamentele paginii Ssce | Cod sursa (job #16249) | Cod sursa (job #207262) | Borderou de evaluare (job #1559234)
Borderou de evaluare (job #1559234)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12: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:13: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:14: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:17:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
ll sol=0; gets(s+1); m=strlen(s+1);
^
/tmp/ccVkE7en.o: In function `main':
user.cpp:(.text.startup+0xd0): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 268kb | OK | 10 |
| 5 | 0ms | 268kb | OK | 10 |
| 6 | 12ms | 272kb | OK | 10 |
| 7 | 36ms | 268kb | OK | 10 |
| 8 | 60ms | 272kb | OK | 10 |
| 9 | 120ms | 268kb | OK | 10 |
| 10 | 120ms | 272kb | OK | 10 |
| Punctaj total | 100 |