Pagini recente » Borderou de evaluare (job #2251259) | Borderou de evaluare (job #458694) | Borderou de evaluare (job #397944) | Borderou de evaluare (job #1861015) | Borderou de evaluare (job #1327481)
Borderou de evaluare (job #1327481)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",s/2);
^
user.cpp:8:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fsb.in","r",stdin);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fsb.out","w",stdout);
^
user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:11:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v);
^
/tmp/ccsXBzrt.o: In function `main':
user.cpp:(.text.startup+0x69): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 276kb | Incorect | 0 |
2 | 4ms | 276kb | Incorect | 0 |
3 | 4ms | 280kb | Incorect | 0 |
4 | 4ms | 328kb | Incorect | 0 |
5 | 8ms | 520kb | Incorect | 0 |
6 | 8ms | 768kb | Incorect | 0 |
7 | 8ms | 912kb | Incorect | 0 |
8 | 8ms | 1008kb | Incorect | 0 |
9 | 8ms | 1156kb | Incorect | 0 |
10 | 8ms | 1256kb | Incorect | 0 |
Punctaj total | 0 |