Pagini recente » Borderou de evaluare (job #1810483) | Cod sursa (job #2089552) | Monitorul de evaluare | Borderou de evaluare (job #1417303) | Borderou de evaluare (job #1417300)
Borderou de evaluare (job #1417300)
Raport evaluator
Compilare:
user.cpp: In function ‘int Cnt(int, int, int, int, int)’:
user.cpp:18:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(p1<0 || p1>L[val].size()-1) return 0;
^
user.cpp:24:37: 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:33: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:34: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:35: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:38:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:74: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 | 60ms | 1584kb | Incorect | 0 | 0 |
| 2 | 76ms | 2672kb | Incorect | 0 | 0 |
| 3 | 288ms | 5424kb | Incorect | 0 | 0 |
| 4 | 268ms | 5384kb | Incorect | 0 |
| 5 | 292ms | 7200kb | Incorect | 0 |
| 6 | 624ms | 9804kb | Incorect | 0 | 0 |
| 7 | 956ms | 11292kb | Incorect | 0 |
| 8 | Depăşit | 12608kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 15512kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 15436kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |