Borderou de evaluare (job #1270117)

Utilizator Cristy94Buleandra Cristian Cristy94 Data 22 noiembrie 2014 11:26:11
Problema Taste Status done
Runda FMI No Stress 5 Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int cntrlKey = 1; p <= y; ++cntrlKey) { ^ user.cpp:21:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (key * p >= x && key * p <= y) ^ user.cpp:21:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (key * p >= x && key * p <= y) ^ user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taste.in", "r", stdin); ^ user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taste.out", "w", stdout); ^ user.cpp:12:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &x, &y); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbCorect10
20ms264kbCorect10
30ms264kbCorect10
40ms260kbIncorect0
50ms256kbCorect10
60ms264kbCorect10
70ms264kbCorect10
80ms264kbCorect10
90ms264kbCorect10
100ms264kbCorect10
Punctaj total90

Ceva nu functioneaza?