Pagini recente » Borderou de evaluare (job #1027461) | Borderou de evaluare (job #65677) | Borderou de evaluare (job #445222) | Borderou de evaluare (job #1127263) | Borderou de evaluare (job #1639366)
Borderou de evaluare (job #1639366)
Raport evaluator
Compilare:
user.cpp: In function ‘long int maxl(unsigned int, long int, unsigned int)’:
user.cpp:19:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(dmax[x]>max)
^
user.cpp:22:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[x].size();i++)
^
user.cpp:23:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(!viz[g[x][i].y] && pow>=g[x][i].l)
^
user.cpp: In function ‘int main()’:
user.cpp:41:36: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 5 has type ‘long int*’ [-Wformat=]
fscanf(f1,"%u%u%u",&x,&y,&l);
^
user.cpp:65:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(!incoada[g[x][i].y] && g[x][i].y!=u && g[x][i].l<=pow)
^
user.cpp:36:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%u%u%u",&p,&n,&m);
^
user.cpp:38:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%u",&dmax[i]);
^
user.cpp:41:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%u%u%u",&x,&y,&l);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | Corect! | 2 |
| 2 | 0ms | 292kb | Corect! | 2 |
| 3 | 0ms | 292kb | Corect! | 2 |
| 4 | 0ms | 300kb | Corect! | 2 |
| 5 | 0ms | 308kb | Corect! | 2 |
| 6 | 0ms | 312kb | Corect! | 2 |
| 7 | 4ms | 412kb | Corect! | 2 |
| 8 | 4ms | 412kb | Corect! | 2 |
| 9 | 4ms | 420kb | Corect! | 2 |
| 10 | 4ms | 420kb | Corect! | 2 |
| 11 | 0ms | 288kb | Raspuns gresit! | 0 |
| 12 | 0ms | 288kb | Corect! | 8 |
| 13 | 0ms | 300kb | Raspuns gresit! | 0 |
| 14 | 0ms | 300kb | Raspuns gresit! | 0 |
| 15 | 0ms | 308kb | Raspuns gresit! | 0 |
| 16 | 4ms | 316kb | Raspuns gresit! | 0 |
| 17 | 4ms | 404kb | Raspuns gresit! | 0 |
| 18 | 4ms | 416kb | Raspuns gresit! | 0 |
| 19 | 8ms | 428kb | Raspuns gresit! | 0 |
| 20 | 8ms | 436kb | Raspuns gresit! | 0 |
| Punctaj total | 28 |