Pagini recente » Borderou de evaluare (job #2960318) | Borderou de evaluare (job #1026503) | Borderou de evaluare (job #2446884) | Borderou de evaluare (job #179427) | Borderou de evaluare (job #1565249)
Borderou de evaluare (job #1565249)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:54:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lampa.in", "r", stdin);
^
user.cpp:55:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &l);
^
user.cpp:56:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘void write()’:
user.cpp:100:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lampa.out", "w", stdout);
^
/tmp/ccIXX2My.o: In function `read()':
user.cpp:(.text+0x2bc): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 528kb | OK | 10 | 0 |
2 | 0ms | 532kb | Incorect | 0 |
3 | 0ms | 536kb | OK | 10 | 10 |
4 | 0ms | 540kb | OK | 10 | 10 |
5 | 0ms | 576kb | OK | 10 | 10 |
6 | 4ms | 620kb | OK | 10 | 20 |
7 | 4ms | 984kb | OK | 10 |
8 | 4ms | 1108kb | OK | 10 | 30 |
9 | 24ms | 1504kb | OK | 10 |
10 | 24ms | 3480kb | OK | 10 |
Punctaj total | 80 |