Borderou de evaluare (job #1754509)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie2.in", "r", stdin);
^
user.cpp:34:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie2.out", "w", stdout);
^
user.cpp:45:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:48:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &M);
^
user.cpp:52:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
/tmp/cctUBsgz.o: In function `main':
user.cpp:(.text.startup+0xa6): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 460kb | OK | 10 | 10 |
2 | 0ms | 464kb | OK | 10 | 10 |
3 | 4ms | 488kb | Incorect | 0 | 0 |
4 | 4ms | 472kb | Incorect | 0 | 0 |
5 | 8ms | 492kb | Incorect | 0 | 0 |
6 | 36ms | 604kb | OK | 10 | 0 |
7 | 28ms | 484kb | Incorect | 0 |
8 | 56ms | 604kb | Incorect | 0 | 0 |
9 | 36ms | 484kb | Incorect | 0 |
10 | 64ms | 544kb | Incorect | 0 | 0 |
Punctaj total | 20 |