Pagini recente » Borderou de evaluare (job #2304972) | Borderou de evaluare (job #900898) | Borderou de evaluare (job #311291) | Borderou de evaluare (job #1296183) | Borderou de evaluare (job #2396052)
Borderou de evaluare (job #2396052)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("difprim.in","r",stdin);
^
main.cpp:29:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("difprim.out","w",stdout);
^
main.cpp:31:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
main.cpp:63:20: warning: 'p2' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i = p2+2 ; i <= b ; i+=2)
^
main.cpp:52:11: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized]
x = p1+2;
~~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 262kb | OK | 10 |
5 | 26ms | 2097kb | OK | 10 |
6 | 176ms | 7995kb | OK | 10 |
7 | 197ms | 9175kb | Incorect | 0 |
8 | 85ms | 4063kb | OK | 10 |
9 | 187ms | 8257kb | OK | 10 |
10 | 235ms | 10092kb | OK | 10 |
Punctaj total | 90 |