Pagini recente » Borderou de evaluare (job #2293248) | Borderou de evaluare (job #2829545) | Borderou de evaluare (job #242010) | Borderou de evaluare (job #1547830) | Borderou de evaluare (job #2019533)
Borderou de evaluare (job #2019533)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in", "r", stdin);
^
user.cpp:53:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out", "w", stdout);
^
user.cpp:57:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &a);
^
user.cpp:59:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
user.cpp:65:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &b);
^
user.cpp:67:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccBp8WCk.o: In function `main':
user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 328kb | OK | 10 |
3 | 0ms | 392kb | OK | 10 |
4 | 0ms | 832kb | OK | 10 |
5 | 4ms | 1540kb | OK | 10 |
6 | 4ms | 1640kb | OK | 10 |
7 | 16ms | 5388kb | OK | 10 |
8 | 16ms | 5472kb | OK | 10 |
9 | 20ms | 5524kb | OK | 10 |
10 | 16ms | 5304kb | OK | 10 |
Punctaj total | 100 |