Borderou de evaluare (job #1563587)

Utilizator serbanSlincu Serban serban Data 6 ianuarie 2016 12:34:47
Problema Reguli Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f, "%I64d", &x2); ^ user.cpp:21:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(r.size() < i) { ^ user.cpp:22:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < in && r.size() < i; j ++) ^ user.cpp:31:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < r.size(); i ++) fprintf(g, "%lld\n", r[i]); ^ user.cpp:15:64: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] long long x1, x2; fscanf(f, "%d %lld %lld\n", &n, &x1, &x2); ^ user.cpp:18:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%I64d", &x2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
128ms464kbOK10
2260ms1328kbIncorect0
3304ms4476kbIncorect0
4Depăşit4472kbTime limit exceeded.0
5108ms1328kbIncorect0
664ms936kbIncorect0
792ms476kbOK10
88ms564kbIncorect0
94ms524kbIncorect0
100ms460kbOK10
Punctaj total30

Ceva nu functioneaza?