Pagini recente » Borderou de evaluare (job #1475176) | Borderou de evaluare (job #20118) | Borderou de evaluare (job #2256856) | Borderou de evaluare (job #3256734) | Borderou de evaluare (job #1752144)
Borderou de evaluare (job #1752144)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie.in","r",stdin);
^
user.cpp:10:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie.out","w",stdout);
^
user.cpp:11:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&k);
^
user.cpp:12:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccU9vck4.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 0ms | 456kb | OK | 10 |
3 | 0ms | 456kb | OK | 10 |
4 | 0ms | 456kb | OK | 10 |
5 | 0ms | 460kb | OK | 10 |
6 | 0ms | 892kb | OK | 10 |
7 | 4ms | 984kb | OK | 10 |
8 | 4ms | 1068kb | OK | 10 |
9 | 4ms | 1152kb | OK | 10 |
10 | 4ms | 1320kb | OK | 10 |
Punctaj total | 100 |