Pagini recente » Borderou de evaluare (job #1564679) | Borderou de evaluare (job #1941576) | Borderou de evaluare (job #1941589) | Borderou de evaluare (job #441078) | Borderou de evaluare (job #1681497)
Borderou de evaluare (job #1681497)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in", "r", stdin);
^
user.cpp:25:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out", "w", stdout);
^
user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:72:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:75:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(qry);
^
/tmp/cc815Iie.o: In function `main':
user.cpp:(.text.startup+0x3b1): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 84ms | 4136kb | OK | 10 |
| 2 | 36ms | 2664kb | OK | 10 |
| 3 | 44ms | 3024kb | OK | 10 |
| 4 | 72ms | 3024kb | OK | 10 |
| 5 | 88ms | 3936kb | OK | 10 |
| 6 | 136ms | 4840kb | OK | 10 |
| 7 | 184ms | 5740kb | OK | 10 |
| 8 | 232ms | 5828kb | OK | 10 |
| 9 | 236ms | 5828kb | OK | 10 |
| 10 | 256ms | 5828kb | OK | 10 |
| Punctaj total | 100 |