Pagini recente » Cod sursa (job #809395) | Cod sursa (job #2715167) | Cod sursa (job #394762) | Cod sursa (job #2577987) | Borderou de evaluare (job #2682012)
Borderou de evaluare (job #2682012)
Raport evaluator
Compilare:
main.cpp: In function 'int solve2(int)':
main.cpp:44:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:48:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in","r",stdin);
^
main.cpp:49:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out","w",stdout);
^
main.cpp:50:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:52:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&arr[i]);
^
main.cpp:53:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
main.cpp:55:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&tip,&val);
^
main.cpp: In function 'int solve1(int)':
main.cpp:36:12: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
return poz;
^~~
main.cpp: In function 'int main()':
main.cpp:67:23: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n", temp + 1);
~~~~~~^~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 3ms | 131kb | OK | 10 | 10 |
4 | 26ms | 131kb | OK | 10 | 10 |
5 | 500ms | 262kb | Time limit exceeded | 0 | 0 |
6 | 502ms | 393kb | Time limit exceeded | 0 |
7 | 502ms | 655kb | Time limit exceeded | 0 | 0 |
8 | 503ms | 524kb | Time limit exceeded | 0 |
9 | 501ms | 524kb | Time limit exceeded | 0 |
10 | 503ms | 524kb | Time limit exceeded | 0 |
Punctaj total | 40 |