Borderou de evaluare (job #1769495)

Utilizator mihai.alphamihai craciun mihai.alpha Data 2 octombrie 2016 17:16:21
Problema Perle2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:31: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=] fscanf(fin, "%lld%lld", &n, &k); ^ user.cpp:6:58: warning: unused variable ‘last’ [-Wunused-variable] long long n, sc,scurent, smax = -999999999, elem, first, last, maxlast, lastc, firstc, maxfirst; ^ user.cpp:6:64: warning: variable ‘maxlast’ set but not used [-Wunused-but-set-variable] long long n, sc,scurent, smax = -999999999, elem, first, last, maxlast, lastc, firstc, maxfirst; ^ user.cpp:6:73: warning: unused variable ‘lastc’ [-Wunused-variable] long long n, sc,scurent, smax = -999999999, elem, first, last, maxlast, lastc, firstc, maxfirst; ^ user.cpp:6:88: warning: variable ‘maxfirst’ set but not used [-Wunused-but-set-variable] long long n, sc,scurent, smax = -999999999, elem, first, last, maxlast, lastc, firstc, maxfirst; ^ user.cpp:8:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%lld%lld", &n, &k); ^ user.cpp:11:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%lld", &elem); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit232kbTime limit exceeded.0
2Depăşit232kbTime limit exceeded.0
3Depăşit232kbTime limit exceeded.0
4Depăşit236kbTime limit exceeded.0
5Depăşit236kbTime limit exceeded.0
6Depăşit240kbTime limit exceeded.0
70ms264kbIncorect0
8Depăşit240kbTime limit exceeded.0
9Depăşit236kbTime limit exceeded.0
100ms264kbIncorect0
Punctaj total0

Ceva nu functioneaza?