Pagini recente » Borderou de evaluare (job #29525) | Borderou de evaluare (job #2335723) | Borderou de evaluare (job #2596910) | Borderou de evaluare (job #1777946) | Borderou de evaluare (job #1568971)
Borderou de evaluare (job #1568971)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:28:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rezervatie.in", "r", stdin);
^
user.cpp:29:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rezervatie.out", "w", stdout);
^
user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &L, &C);
^
user.cpp:31:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:32:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:46:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
/tmp/ccgf7L1Y.o: In function `read()':
user.cpp:(.text+0x8c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 464kb | OK | 10 |
3 | 0ms | 468kb | OK | 10 |
4 | 0ms | 448kb | OK | 10 |
5 | 0ms | 524kb | OK | 10 |
6 | 0ms | 572kb | OK | 10 |
7 | 0ms | 616kb | OK | 10 |
8 | 0ms | 608kb | OK | 10 |
9 | 0ms | 472kb | OK | 10 |
10 | 0ms | 612kb | OK | 10 |
Punctaj total | 100 |