Pagini recente » Borderou de evaluare (job #2775858) | Borderou de evaluare (job #1535716) | Borderou de evaluare (job #1511639) | Cod sursa (job #1848639) | Borderou de evaluare (job #2361187)
Borderou de evaluare (job #2361187)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:45:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<d[i].v.size();j++)
~^~~~~~~~~~~~~~
main.cpp:14:15: warning: unused variable 'p' [-Wunused-variable]
int n,G,g,p,i,last,j,max1=0;
^
main.cpp:14:26: warning: unused variable 'max1' [-Wunused-variable]
int n,G,g,p,i,last,j,max1=0;
^~~~
main.cpp:12:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ghiozdan.in","r",stdin);
^
main.cpp:13:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ghiozdan.out","w",stdout);
^
main.cpp:16:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&G);
^
main.cpp:22:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&g);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 6ms | 2490kb | OK | 10 |
| 2 | 7ms | 2490kb | OK | 10 |
| 3 | 67ms | 8650kb | OK | 10 |
| 4 | 2003ms | 11665kb | Time limit exceeded | 0 |
| 5 | 584ms | 20496kb | Memory limit exceeded | 0 |
| 6 | 293ms | 6553kb | OK | 10 |
| 7 | 2003ms | 6553kb | Time limit exceeded | 0 |
| 8 | 2000ms | 11665kb | Time limit exceeded | 0 |
| 9 | 2000ms | 12713kb | Time limit exceeded | 0 |
| 10 | 185ms | 20496kb | Memory limit exceeded | 0 |
| Punctaj total | 40 |