Pagini recente » Borderou de evaluare (job #2192294) | Borderou de evaluare (job #519807) | Borderou de evaluare (job #147908) | Borderou de evaluare (job #2907219) | Borderou de evaluare (job #1794876)
Borderou de evaluare (job #1794876)
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 | 0ms | 400kb | OK | 10 |
2 | 0ms | 404kb | OK | 10 |
3 | 64ms | 448kb | OK | 10 |
4 | 128ms | 488kb | OK | 10 |
5 | 272ms | 480kb | OK | 10 |
6 | 724ms | 484kb | OK | 10 |
7 | Depăşit | 472kb | Time limit exceeded. | 0 |
8 | Depăşit | 468kb | Time limit exceeded. | 0 |
9 | Depăşit | 464kb | Time limit exceeded. | 0 |
10 | 0ms | 392kb | OK | 10 |
Punctaj total | 70 |