Pagini recente » Borderou de evaluare (job #1549705) | Borderou de evaluare (job #605114) | Borderou de evaluare (job #2598497) | Borderou de evaluare (job #369660) | Borderou de evaluare (job #2515818)
Borderou de evaluare (job #2515818)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&n);
^
main.cpp:22:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&v[i]);
^
main.cpp:36:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d %d",p1,p2);
^
main.cpp:36:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
main.cpp:17:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("3secv.in","r",stdin);
^
main.cpp:18:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("3secv.out","w",stdout);
^
main.cpp:20:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:22:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Fisier de iesire lipsa | 0 |
Punctaj total | 0 |