Pagini recente » Borderou de evaluare (job #3336989) | Borderou de evaluare (job #1944889) | Borderou de evaluare (job #3308588) | Borderou de evaluare (job #3345654) | Borderou de evaluare (job #1503355)
Borderou de evaluare (job #1503355)
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:59: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:62:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
/tmp/ccDRy7qa.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 | 0ms | 312kb | OK | 10 |
| 2 | 0ms | 404kb | OK | 10 |
| 3 | 12ms | 744kb | OK | 10 |
| 4 | 44ms | 508kb | OK | 10 |
| 5 | 152ms | 412kb | OK | 10 |
| 6 | 188ms | 1212kb | OK | 10 |
| 7 | 392ms | 1688kb | OK | 10 |
| 8 | 476ms | 2156kb | OK | 10 |
| 9 | 628ms | 2624kb | OK | 10 |
| 10 | 784ms | 3104kb | OK | 10 |
| Punctaj total | 100 |