Pagini recente » Borderou de evaluare (job #1173537) | Borderou de evaluare (job #2098643) | Borderou de evaluare (job #1463113)
Borderou de evaluare (job #1463113)
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/ccVmy8Uz.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 | 12ms | 8088kb | OK | 10 |
2 | 72ms | 8864kb | OK | 10 |
3 | 44ms | 8864kb | OK | 10 |
4 | 76ms | 8764kb | OK | 10 |
5 | 72ms | 8828kb | OK | 10 |
6 | 84ms | 8852kb | OK | 10 |
7 | 68ms | 8552kb | OK | 10 |
8 | 32ms | 8548kb | OK | 10 |
9 | 12ms | 8088kb | OK | 10 |
10 | 40ms | 8088kb | OK | 10 |
Punctaj total | 100 |