Pagini recente » Borderou de evaluare (job #143710) | Borderou de evaluare (job #717604) | Borderou de evaluare (job #2399832) | Borderou de evaluare (job #2385554) | Borderou de evaluare (job #1503310)
Borderou de evaluare (job #1503310)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perb.in", "r", stdin);
^
user.cpp:11:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:12:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perb.out", "w", stdout);
^
user.cpp:37:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
/tmp/ccgRsaiJ.o: In function `read()':
user.cpp:(.text+0x4c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1708kb | OK | 10 |
2 | 8ms | 1760kb | Incorect | 0 |
3 | 40ms | 1924kb | Incorect | 0 |
4 | 60ms | 1808kb | Incorect | 0 |
5 | 144ms | 1760kb | Incorect | 0 |
6 | 236ms | 2160kb | Incorect | 0 |
7 | 508ms | 2396kb | Incorect | 0 |
8 | 596ms | 2632kb | Incorect | 0 |
9 | 948ms | 2868kb | Incorect | 0 |
10 | Depăşit | 3100kb | Time limit exceeded. | 0 |
Punctaj total | 10 |