Pagini recente » Borderou de evaluare (job #596892) | Borderou de evaluare (job #2378774) | Borderou de evaluare (job #2611505) | Borderou de evaluare (job #2170911) | Borderou de evaluare (job #2019525)
Borderou de evaluare (job #2019525)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45: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:46: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:50:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &a);
^
user.cpp:52:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
user.cpp:58:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &b);
^
user.cpp:60:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccZ6Td7x.o: In function `main':
user.cpp:(.text.startup+0x78): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK | 10 |
2 | 0ms | 740kb | OK | 10 |
3 | 4ms | 2540kb | OK | 10 |
4 | 40ms | 14816kb | OK | 10 |
5 | 196ms | 71008kb | OK | 10 |
6 | Depăşit | 88716kb | Time limit exceeded. | 0 |
7 | Depăşit | 107812kb | Time limit exceeded. | 0 |
8 | Depăşit | 112956kb | Time limit exceeded. | 0 |
9 | Depăşit | 107152kb | Time limit exceeded. | 0 |
10 | Depăşit | 109392kb | Time limit exceeded. | 0 |
Punctaj total | 50 |