Pagini recente » Borderou de evaluare (job #2548562) | Borderou de evaluare (job #709080) | Borderou de evaluare (job #1921772) | Borderou de evaluare (job #662137) | Borderou de evaluare (job #1604830)
Borderou de evaluare (job #1604830)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("morcovi.in", "r", stdin);
^
user.cpp:27:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("morcovi.out", "w", stdout);
^
user.cpp:31:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:32:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buff);
^
user.cpp:36:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &p);
^
user.cpp:37:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buff);
^
/tmp/ccIqdcWL.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 400kb | OK | 10 |
2 | 20ms | 4284kb | OK | 10 |
3 | 36ms | 4280kb | OK | 10 |
4 | 12ms | 2284kb | OK | 10 |
5 | 0ms | 676kb | OK | 10 |
6 | 396ms | 8292kb | OK | 10 |
7 | 584ms | 12292kb | OK | 10 |
8 | 560ms | 11196kb | OK | 10 |
9 | Depăşit | 12268kb | Time limit exceeded. | 0 |
10 | Depăşit | 12264kb | Time limit exceeded. | 0 |
Punctaj total | 80 |