Pagini recente » Borderou de evaluare (job #1079081) | Borderou de evaluare (job #1671776) | Borderou de evaluare (job #1587748) | Borderou de evaluare (job #165088) | Borderou de evaluare (job #1417296)
Borderou de evaluare (job #1417296)
Raport evaluator
Compilare:
user.cpp: In function ‘int Cnt(int, int, int)’:
user.cpp:16:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(p1<0 || p1>L[val].size()-1) return 0;
^
user.cpp:18:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(p2<0 || p2>L[val].size()-1) return L[val].size()-p1;
^
user.cpp: In function ‘int main()’:
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 ("rangemode.in","r",stdin);
^
user.cpp:26:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("rangemode.out","w",stdout);
^
user.cpp:27:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n,&m);
^
user.cpp:30:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:66:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 72ms | 1636kb | OK | 10 | 10 |
| 2 | 104ms | 3316kb | OK | 10 | 10 |
| 3 | 396ms | 7940kb | OK | 10 | 30 |
| 4 | 368ms | 7912kb | OK | 10 |
| 5 | 396ms | 11100kb | OK | 10 |
| 6 | 184ms | Depăşit | Memory limit exceeded. | 0 | 0 |
| 7 | 344ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 344ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 396ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 396ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 50 |