Pagini recente » Borderou de evaluare (job #665521) | Cod sursa (job #89063) | Borderou de evaluare (job #2125721) | Cod sursa (job #548329) | Borderou de evaluare (job #1380521)
Borderou de evaluare (job #1380521)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("qvect.in","r",stdin);
^
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("qvect.out","w",stdout);
^
user.cpp:18:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&s[i]);
^
user.cpp:22:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=1;j<=s[i];j++) scanf("%d",&a[i][j]);
^
user.cpp:27:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&tip,&p1,&p2);
^
user.cpp:64:27: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ind[pos]++;
^
user.cpp:31:17: warning: ‘minim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int minim;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 336kb | Incorect | 0 |
| 2 | 0ms | 408kb | Incorect | 0 |
| 3 | 52ms | 1020kb | Incorect | 0 |
| 4 | 264ms | 2216kb | Incorect | 0 |
| 5 | 0ms | 300kb | OK | 5 |
| 6 | 344ms | 652kb | OK | 5 |
| 7 | Depăşit | 2208kb | Time limit exceeded. | 0 |
| 8 | 304ms | 852kb | Incorect | 0 |
| 9 | Depăşit | 1244kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1900kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 2092kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 1880kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 2108kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 2208kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 2212kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 2208kb | Time limit exceeded. | 0 |
| 17 | 112ms | 1892kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | Depăşit | 1916kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 2208kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 2208kb | Time limit exceeded. | 0 |
| Punctaj total | 10 |