Pagini recente » Borderou de evaluare (job #218555) | Borderou de evaluare (job #2792883) | Borderou de evaluare (job #805149) | Borderou de evaluare (job #1337458) | Borderou de evaluare (job #1794870)
Borderou de evaluare (job #1794870)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i <= n ; ++i){
^
user.cpp:35:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(NR == n){printf("2"); return 0;}
^
user.cpp:36:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i <= m ; ++i){
^
user.cpp:42:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(NR == n) break;
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzica.in", "r", stdin);
^
user.cpp:25:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzica.out", "w", stdout);
^
user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:27:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &a, &b, &c, &d, &e);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 8080kb | OK | 10 |
2 | 12ms | 8092kb | OK | 10 |
3 | 72ms | 8160kb | OK | 10 |
4 | 220ms | 8204kb | OK | 10 |
5 | 312ms | 8236kb | OK | 10 |
6 | Depăşit | 8220kb | Time limit exceeded. | 0 |
7 | Depăşit | 8224kb | Time limit exceeded. | 0 |
8 | Depăşit | 8220kb | Time limit exceeded. | 0 |
9 | Depăşit | 8224kb | Time limit exceeded. | 0 |
10 | 12ms | 8084kb | OK | 10 |
Punctaj total | 60 |