Pagini recente » Borderou de evaluare (job #502595) | Borderou de evaluare (job #553658) | Borderou de evaluare (job #2161020) | Borderou de evaluare (job #199339) | Borderou de evaluare (job #2578095)
Borderou de evaluare (job #2578095)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:67:27: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(fin,"r",stdin);
^
main.cpp:69:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(fout,"w",stdout);
^
main.cpp:72:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(buff,Nmax,stdin);
^
main.cpp:77:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(buff,Nmax,stdin);
^
main.cpp:119:27: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(fin,"r",stdin);
^
main.cpp:121:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(buff,Nmax,stdin);
^
main.cpp: In function 'void go(int)':
main.cpp:59:22: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations]
go(pozt[ord[i]]);
~~~~~^
main.cpp:58:15: note: within this loop
for (i=1;i<5;++i)
~^~
main.cpp: In function 'int main()':
main.cpp:116:28: warning: array subscript is above array bounds [-Warray-bounds]
ord[3]=tab[2][1]; ord[4]=tab[2][2];
~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 186ms | 2097kb | Incorect | 0 |
7 | 203ms | 11141kb | Incorect | 0 |
8 | 450ms | 11141kb | OK | 10 |
9 | 688ms | 36880kb | Memory limit exceeded | 0 |
10 | 2003ms | 17825kb | Time limit exceeded | 0 |
Punctaj total | 30 |