Borderou de evaluare (job #2176685)
Utilizator | Data | 17 martie 2018 22:04:33 | |
---|---|---|---|
Problema | Flori | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘short int _merge(short int, short int)’:
user.cpp:23:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:30:24: warning: unknown conversion type character 0x20 in format [-Wformat=]
scanf("%h %h",&N,&K);
^
user.cpp:30:24: warning: conversion lacks type at end of format [-Wformat=]
user.cpp:30:24: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:37:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:53:33: error: ‘prshortf’ was not declared in this scope
prshortf("%h ",f);
^
user.cpp:54:26: error: ‘prshortf’ was not declared in this scope
prshortf("\n");
^
user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.in","r",stdin);
^
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.out","w",stdout);
^
user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%h %h",&N,&K);
^
user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !