Pagini recente » Borderou de evaluare (job #2853023) | Borderou de evaluare (job #2645741) | Borderou de evaluare (job #2978708) | Borderou de evaluare (job #892633) | Borderou de evaluare (job #1417313)
Borderou de evaluare (job #1417313)
Raport evaluator
Compilare:
user.cpp: In function ‘int Cnt(int, int, int)’:
user.cpp:17:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(p1<0 || p1>L[val].size()-1) return 0;
^
user.cpp:19: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:26: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:27: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:28: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:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:67: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 | 36ms | 1576kb | Incorect | 0 | 0 |
2 | 76ms | 2560kb | Incorect | 0 | 0 |
3 | 280ms | 4896kb | Incorect | 0 | 0 |
4 | 304ms | 4860kb | Incorect | 0 |
5 | 360ms | 6472kb | Incorect | 0 |
6 | 600ms | 8532kb | Incorect | 0 | 0 |
7 | Depăşit | 9776kb | Time limit exceeded. | 0 |
8 | Depăşit | 10892kb | Time limit exceeded. | 0 |
9 | Depăşit | 13240kb | Time limit exceeded. | 0 |
10 | Depăşit | 13176kb | Time limit exceeded. | 0 |
Punctaj total | 0 |