Pagini recente » Borderou de evaluare (job #2621353) | Borderou de evaluare (job #861094) | Borderou de evaluare (job #2601352) | Borderou de evaluare (job #2479639) | Borderou de evaluare (job #1463112)
Borderou de evaluare (job #1463112)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:19:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b);
^
user.cpp: In function ‘int main()’:
user.cpp:44:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ograzi.in", "r", stdin);
^
user.cpp:45:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ograzi.out", "w", stdout);
^
user.cpp:47:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n", &N, &M, &W, &H);
^
/tmp/ccLtUQ6w.o: In function `read()':
user.cpp:(.text+0x46): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 572kb | OK | 10 |
2 | 60ms | 1232kb | OK | 10 |
3 | 24ms | 1036kb | OK | 10 |
4 | 68ms | 1232kb | OK | 10 |
5 | 56ms | 1288kb | OK | 10 |
6 | 76ms | 1236kb | OK | 10 |
7 | 60ms | 968kb | OK | 10 |
8 | 16ms | 972kb | OK | 10 |
9 | 0ms | 572kb | OK | 10 |
10 | 24ms | 576kb | OK | 10 |
Punctaj total | 100 |