Pagini recente » Borderou de evaluare (job #1482849) | Borderou de evaluare (job #712054) | Borderou de evaluare (job #221329) | Borderou de evaluare (job #456445) | Borderou de evaluare (job #2019523)
Borderou de evaluare (job #2019523)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43: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:44: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:48:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &a);
^
user.cpp:50:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
user.cpp:56:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &b);
^
user.cpp:58:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/cc4uVjVR.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 | Incorect | 0 |
2 | 0ms | 744kb | OK | 10 |
3 | 4ms | 2536kb | Incorect | 0 |
4 | 40ms | 14812kb | Incorect | 0 |
5 | 188ms | 71012kb | Incorect | 0 |
6 | Depăşit | 88716kb | Time limit exceeded. | 0 |
7 | Depăşit | 115472kb | Time limit exceeded. | 0 |
8 | Depăşit | 111908kb | Time limit exceeded. | 0 |
9 | Depăşit | 109260kb | Time limit exceeded. | 0 |
10 | Depăşit | 112032kb | Time limit exceeded. | 0 |
Punctaj total | 10 |