Pagini recente » Borderou de evaluare (job #311278) | Borderou de evaluare (job #944400) | Borderou de evaluare (job #2431799) | Borderou de evaluare (job #2633468) | Borderou de evaluare (job #1883025)
Borderou de evaluare (job #1883025)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d\n",&n,&k);
^
user.cpp:9:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:25:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",v[m-1]);
^
user.cpp:7:35: 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:8:37: 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:9:22: 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:10:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cco4e0fY.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 | 288kb | OK | 10 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 0ms | 284kb | Incorect | 0 |
4 | 0ms | 284kb | Incorect | 0 |
5 | 0ms | 284kb | Incorect | 0 |
6 | 216ms | 764kb | Incorect | 0 |
7 | Depăşit | 848kb | Time limit exceeded. | 0 |
8 | 304ms | 956kb | Incorect | 0 |
9 | Depăşit | 896kb | Time limit exceeded. | 0 |
10 | Depăşit | 1064kb | Time limit exceeded. | 0 |
Punctaj total | 10 |