Pagini recente » Borderou de evaluare (job #3122504) | Borderou de evaluare (job #214521) | Borderou de evaluare (job #2593392) | Borderou de evaluare (job #302086) | Borderou de evaluare (job #1762874)
Borderou de evaluare (job #1762874)
Raport evaluator
Compilare:
user.cpp: In constructor ‘Rmq::Rmq(int, const std::vector<int>&)’:
user.cpp:18:23: warning: ‘Rmq::work’ will be initialized after [-Wreorder]
vector<vector<int>>work;
^
user.cpp:17:15: warning: ‘std::vector<int> Rmq::A’ [-Wreorder]
vector<int>A;
^
user.cpp:19:4: warning: when initialized here [-Wreorder]
Rmq(int n = 0, const vector<int>&Array = vector<int>()) :
^
user.cpp: In function ‘void cit()’:
user.cpp:48:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n , &m, &d);
^
user.cpp:52:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=0;j<m;++j)scanf("%d",&a[i][j]);
^
user.cpp: In function ‘int main()’:
user.cpp:91:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smax.in", "r", stdin);
^
user.cpp:92:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smax.out", "w", stdout);
^
user.cpp:93:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 8772kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |