Borderou de evaluare (job #1272053)

Utilizator sorin2kSorin Nutu sorin2k Data 22 noiembrie 2014 13:36:37
Problema Patrate6 Status done
Runda FMI No Stress 5 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘long long unsigned int expRapida(long long unsigned int, long long unsigned int)’: user.cpp:9:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (exp > 0 && ans < n) { ^ user.cpp: In function ‘int main()’: user.cpp:39:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (v[i] != currentPiece) { ^ user.cpp:40:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (space < n - 1) space = space * expRapida(4, currentPiece - v[i]); ^ user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("patrate6.in", "r", stdin); ^ user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("patrate6.out", "w", stdout); ^ user.cpp:26:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:30:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", v + i); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms272kbOK10
34ms312kbOK10
444ms656kbOK10
50ms268kbOK10
64ms316kbOK10
740ms656kbOK10
88ms344kbOK10
948ms624kbOK10
1052ms624kbOK10
Punctaj total100

Ceva nu functioneaza?